MATLAB: Change the exponential notation of numbers to demical notation of numbers

MATLABprogramming

I see that numbers are displayed in exponential notations such as
7.245E+3;
I would like to have them in demical notations such as
7245
Please advise.

Best Answer

Depending on the context, you probably need either the format command or the sprintf command