MATLAB: How can I change the number of digits before decimal point
format
Hi everyone,
I would like to change the number of digits before the decimal point, for example 1.45237E+6 to 145.237E+4
Thanks in advance,
Riyadh
Best Answer
Hmm, interesting problem. Here is one solution that lets you specify how many leading digits you want before the decimal point, before converting to char vector/string:
Best Answer