isequal
Return true if all arguments x1, x2, ... , xn are equal (same dimensions, same values).
📝 Syntax
res = isequal(x1, x2)
res = isequal(x1, x2, xn)
📥 Input argument
x1 - a value
x2 - a value
xn - a value
📤 Output argument
res - a logical value
📄 Description
isequal returns true if x1 and x2 are the same size and their contents are of equal value; otherwise, it returns false.
isequal compares real and imaginary parts of numeric arrays. NaN (Not a Number) values are considered to be NOTequal to other elements.
💡 Examples
🔗 See also
🕔 History
Version
📄 Description
1.0.0
initial version
Last updated
Was this helpful?