fi
Determine whether properties of two fi objects are equal
tf = ispropequal(a,b)
example
tf = ispropequal(a,b) returns 1 (true) if a and b are both fi objects and have the same properties. Otherwise, it returns 0 (false).
a,b
1
true
a
b
0
false
collapse all
Create two fi objects and determine whether they have the same properties.
F = fimath; a = fi(pi); b = fi(pi,F); c = fi(pi/2,F); d = fi(pi/2,0); tf = ispropequal(a,b)
tf = logical 1
tf = ispropequal(b,c)
tf = logical 0
tf = ispropequal(c,d)
Inputs to be compared, specified as arrays.
Data Types: fi
To compare the real-world values of two fi objects a and b, use a == b or isequal(a,b).
a == b
isequal(a,b)
fi | isequal
isequal
You have a modified version of this example. Do you want to open this example with your edits?