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

 Respuesta aceptada

Más respuestas (0)

Categorías

Más información sobre Language Fundamentals en Centro de ayuda y File Exchange.

Preguntada:

el 6 de Oct. de 2018

Respondida:

el 6 de Oct. de 2018

Community Treasure Hunt

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

Start Hunting!

Translated by