Defining matlab logspace for semilogx plot

조회 수: 3 (최근 30일)
Raj Patel
Raj Patel 2020년 9월 24일
댓글: Raj Patel 2020년 9월 24일
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일
x = logspace(log10(400e-9), log10(700e-9))

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by