Defining matlab logspace for semilogx plot

3 visualizaciones (últimos 30 días)
Raj Patel
Raj Patel el 24 de Sept. de 2020
Comentada: Raj Patel el 24 de Sept. de 2020
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.

Respuesta aceptada

Ameer Hamza
Ameer Hamza el 24 de Sept. de 2020
x = logspace(log10(400e-9), log10(700e-9))

Más respuestas (0)

Categorías

Más información sobre Creating and Concatenating Matrices en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by