isequaln

Return true if all arguments x1, x2, ... , xn are equal (same dimensions, same values or NaNs).

📝 Syntax

  • res = isequaln(x1, x2)

  • res = isequaln(x1, x2, xn)

📥 Input argument

  • x1 - a value

  • x2 - a value

  • xn - a value

📤 Output argument

  • res - a logical value

📄 Description

isequaln returns true if x1 and x2 are the same size and same values; otherwise, it returns false.isequaln compares real and imaginary parts of numeric arrays. NaN (Not a Number) values are considered to beequal to other elements.

💡 Examples

🔗 See also

isequal, isequalto.

🕔 History

Version
📄 Description

1.0.0

initial version

Last updated

Was this helpful?