Defining matlab logspace for semilogx plot

3 visualizzazioni (ultimi 30 giorni)
I am trying to plot a matlab semilogx plot. How can I define a logspace in matlab from 400 nm to 700 nm?
Thanks in advance,
Raj Patel.

Risposta accettata

Ameer Hamza
Ameer Hamza il 24 Set 2020
x = logspace(log10(400e-9), log10(700e-9))

Più risposte (0)

Categorie

Scopri di più su Creating and Concatenating Matrices 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