Expanding a number in matlab and getting rid of e+003 how ?

  • Topic: MATLAB 
  • Thread starter Thread starter uaeXuae
  • Start date Start date
  • Tags Tags
    Expanding Matlab
Join the discussion
Registration is free. Start your own thread to ask a follow-up.
2 replies · 10K views
uaeXuae
Messages
54
Reaction score
0
[SOLVED] Expanding a number in MATLAB and getting rid of e+003 how ?

heres my code:

Sysms x
f=(my function)

Y=int(f,11,16) --> Results in a fraction answer

Double(y) --> To get rid of the fraction

The answer is 1.6050e+003

how do i let it show 1605 straight away ?
 
Physics news on Phys.org
Anyone please ? I have to submit this in 2 days please help...