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

1 次查看(过去 30 天)
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

回答(1 个)

KALYAN ACHARJYA
KALYAN ACHARJYA 2021-3-2
编辑:KALYAN ACHARJYA 2021-3-2
"something like 10^-1, 10^-.9,10^-.8 ..... 10^1"
data=10.^(-1:0.1:1)

类别

Help CenterFile Exchange 中查找有关 MATLAB 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by