Defining matlab logspace for semilogx plot

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.

 採用された回答

Ameer Hamza
Ameer Hamza 2020 年 9 月 24 日

0 投票

x = logspace(log10(400e-9), log10(700e-9))

その他の回答 (0 件)

カテゴリ

質問済み:

2020 年 9 月 24 日

コメント済み:

2020 年 9 月 24 日

Community Treasure Hunt

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

Start Hunting!

Translated by