How to make an exponential function taking as input a vector?

For example, if my vector is: [2], I'd like to convert this into:
[1,n]. Then, if input is:[3] -> [1,n,n^2] and so on...

更多回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Data Type Conversion 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by