MATLAB: Creating array from 1.e-20 to 1, with steps 1.e-19, 1.e-18..

:arrayee-20linspacelogspacematrixscientific notationsteps;

The only command I know to control the steps is when you use the : operator, however the step is too small (0.e+01) and it gives me an error of a 1 by 0 matrix.
Not sure what to use here, I have tried linspace and logspace but none seem to be of help.
Thanks!

Best Answer

logspace(-20,0,21)