MATLAB: Create a vector with 10 to power negative number

vectorization

Hello , I am supposed to create a vector from 10^0 to 10^-16 as below 1 0.1 0.01 0.001,…. how can I make this vector? Thanks, Semi

Best Answer

All you need is this:
10.^(0:-1:-16)