Cody

Problem 2531. Crate a vector of logarithmically spaced

Created by Pritesh Shah in Community

Create a vector of logarithmically spaced from 10^0 to 10^x with n sample

Example: if x=4 and n=3 Answer must be=[1 100 10000]

Solution Stats

60.75% Correct | 39.25% Incorrect
Last solution submitted on Jul 16, 2019