Create a vector containing five elements such that the elements are equally spaced when you take the logarithm of the vector.

1 visualizzazione (ultimi 30 giorni)
Create a vector containing five elements such that the elements are equally spaced when you take the logarithm of the vector.
  1 Commento
Stephen23
Stephen23 il 9 Set 2018
Modificato: Stephen23 il 9 Set 2018
@Ege Gurtan: do you have a question for us?
When I use [major internet search engine] to search for "MATLAB logarithm vector" the first results includes a function that will do exactly what you want, so presumably you have not had any difficulty in finding the appropriate functions. Please show us what you have tried so far.

Accedi per commentare.

Risposta accettata

Koundinya
Koundinya il 12 Set 2018
You can use the logspace function.

Più risposte (0)

Categorie

Scopri di più su Programming in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by