Clear Filters
Clear Filters

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

1 view (last 30 days)
Create a vector containing five elements such that the elements are equally spaced when you take the logarithm of the vector.
  1 Comment
Stephen23
Stephen23 on 9 Sep 2018
Edited: Stephen23 on 9 Sep 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.

Sign in to comment.

Accepted Answer

Koundinya
Koundinya on 12 Sep 2018
You can use the logspace function.

More Answers (0)

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!