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

1 view (last 30 days)
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)

KALYAN ACHARJYA
KALYAN ACHARJYA on 2 Mar 2021
Edited: KALYAN ACHARJYA on 2 Mar 2021
"something like 10^-1, 10^-.9,10^-.8 ..... 10^1"
data=10.^(-1:0.1:1)

Categories

Find more on MATLAB in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!