My matlab displays the value 1042
as 1.042e+003
How do I get matlab to stop using the e
notation and display a 4 digit number ( or longer )
More specifically, this is what I am trying to do :
title(sprintf('1st harmonic of I. Vpeak = %i', AmpHar(i)));
AmpHar(i)
has the value 1042
. But in the plot title it gets displayed as 1.042e+003
Edit:
of AmpHar(i)
has a full value of 1042.3478
. But I would like matlab to display the value as 1042.34
in the title