Filter Function Output data width
2 ビュー (過去 30 日間)
古いコメントを表示
When we use the "filter(b,a,x)" function the output max data width is limited to the data width of "x"...
e.g. If i have the input "x" as x=floor((2^27-1)*sin(2*pi*1*(0:2^16-1)/sqrt(32))); % where the max data bus width is limited to 28 bits
Now if i do
out = round(filter(b,1,x); % data bus width of b could be less than 28 out(find(out>2^31-1)) = 2^31-1; out(find(out<-2^31)) = -2^31;
The max data bus width would also be 28 bits , but can i make "out" to be having a data bus width of 32 bits
0 件のコメント
回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!