www.gusucode.com > fixedpoint 案例源码程序 matlab代码 > fixedpoint/CompareTwofiObjectsSevenExample.m
%% Compare Two fi Objects % Use the |ne| function to determine whether the real-world values of two % |fi| objects are not equal. %% a = fi(pi); b = fi(pi, 1, 32); a ~= b %% % Input |a| has a 16-bit word length, while input |b| has a 32-bit word % length. The |ne| function returns |1| because after quantization, the % value of |a| is greater than that of |b|.