Ask your own question, for FREE!
Mathematics 10 Online
OpenStudy (loser66):

matlab help When I put "t=logspace(-3,6,10)" on matlab, it says 1.0e+06* 0.0000 0.0000 0.0000 0.0000 0.0000 0.0001 0.0010 0.0100 0.1000 1.0000 I don't understand what 1.0e+06 means. Please, help

OpenStudy (phi):

It's the scalefactor on your coefficients

OpenStudy (phi):

1e6 means 1*10^6

OpenStudy (loser66):

One more thing, is it not that the first output is \(10^{-3}=0.001\) but the first output on the array is 0.0000, if we * whatever, we get 0 it confused me a lot

OpenStudy (phi):

I would expect to see >> t= logspace(-3,6,10) t = Columns 1 through 6: 1.0000e-03 1.0000e-02 1.0000e-01 1.0000e+00 1.0000e+01 1.0000e+02 Columns 7 through 10: 1.0000e+03 1.0000e+04 1.0000e+05 1.0000e+06 in matlab, you can redefine functions or "shadow" them. as a check, do a which logspace and help logspace to be sure you are actually referencing the correct routine.

OpenStudy (loser66):

I show you what I got

OpenStudy (phi):

also, you can do format long to see more decimals 1e-3 would be 1e6*1e-9

OpenStudy (phi):

yes, it looks like it picked a scalefactor to get 1 as the last coefficient.

OpenStudy (loser66):

Thank you so much for "format long" I got the answer which makes sense to me.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!