num2str(x) As in Mathcad
The number x written as a string.
Gives as many digits as needed, not the displayed ones. Join strings with concat.
Units
Only the number is used; units are dropped.
Refused
- A complex number.
num2str(2.5)=”2.5”
concat(”R = ”,num2str(47))=”R = 47”