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...

Più risposte (0)

Categorie

Scopri di più su Language Fundamentals in Centro assistenza e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by