Problem 1794. 02 - Vector Variables 4
Make the following variable:

(Logarithmically spaced numbers between 1 and 10)
(Hint: Use logspace, make sure you get the length right!)
Solution Stats
Problem Comments
-
2 Comments
Gergely Patay
on 9 Jan 2015
why, oh, why is the test suite exactly the same as the expected solution?
Jeremy Perez
on 16 Sep 2020
Isn't 10.^(0:0.01:1) more precise?
Solution Comments
Show commentsProblem Recent Solvers545
Suggested Problems
-
Given a matrix, swap the 2nd & 3rd columns
1146 Solvers
-
Sum of first n positive integers
593 Solvers
-
07 - Common functions and indexing 6
454 Solvers
-
Determine the length of a string of characters
258 Solvers
-
Matlab Basics - Set unwanted parts of a vector to zero
249 Solvers
More from this Author26
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!