www.gusucode.com > fixedpoint 案例源码程序 matlab代码 > fixedpoint/CompareTwoFiObjectsThreeExample.m
%% Compare Two fi Objects % Use the |gt| function to determine whether the real-world value of one % |fi| object is greater than another. %% 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 |gt| function returns |1| because after quantization, the % value of |a| is greater than that of |b|.