필터 지우기
필터 지우기

how to plot x axis equal spaced ?

조회 수: 1 (최근 30일)
Jin
Jin 2012년 2월 9일
댓글: Shahmeer Baweja 2021년 12월 5일
given x=[0.1,1,10,100], the corresponding y=[1,2,3,4,5] how to make the x-y plot x axis equal spaced? Thanks

답변 (1개)

Wayne King
Wayne King 2012년 2월 10일
Since this sounds very much like a homework problem, I don't want to simply show the code, but look at your x-vector
x = [0.1 1 10 100];
what do all those numbers have in common? What do you have to raise 10 to get the first element, the second, etc.
  댓글 수: 1
Shahmeer Baweja
Shahmeer Baweja 2021년 12월 5일
Powers of ten. Now, can we know the code?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by