real

Real part of an complex number.

📝 Syntaxe

  • R = real(M)

📥 Argument d'entrée

  • M - a variable

📤 Argument de sortie

  • R - real part of the elements of the complex array M.

📄 Description

R = real(M) Return the real part of M.

💡 Exemple

cplx = 22+34*i;
r = real(cplx)

🔗 Voir aussi

imag.

🕔 Historique

Version
📄 Description

1.0.0

version initiale

Last updated

Was this helpful?