How do I create a vector in which the exponet is increasing?

I was wondering if I can use -1:0.1:1 but as exponets so the answer looks something like 10^-1, 10^-.9,10^-.8 ..... 10^1

Answers (1)

"something like 10^-1, 10^-.9,10^-.8 ..... 10^1"
data=10.^(-1:0.1:1)

Categories

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!