www.gusucode.com > hdlverifier 案例代码 matlab源码程序 > hdlfilter/ReturnSerialPartitionOptionsToACellArrayExample.m

    %% Return Serial Partition Options to a Cell Array
% Pass the filter and data type, with no additional arguments, to
% |hdlfilterserialinfo|. You can return the results to a cell array.
Hd = design(fdesign.lowpass('N,Fc',8,.4),'Systemobject',true);
[sp,ff,nm] = hdlfilterserialinfo(Hd,'InputDataType',numerictype(1,12,10))
%%
% You can also use this syntax while specifying a number of multipliers or
% folding factor. 
[sp_ff4,ff4,nm_ff4] = hdlfilterserialinfo(Hd,'InputDataType',numerictype(1,12,10),...
                                 'FoldingFactor',4)