Combining 2 command, difficulty to combine plot in a single x and y range.

조회 수: 1 (최근 30일)
zahrein yaacob
zahrein yaacob 2019년 5월 17일
댓글: zahrein yaacob 2019년 5월 17일
HI I have diifficulty on combining 2 plot here in a single x and y coordinates. I got erros when i combine these 2 plots.
Basically i want a plot horinzontal from 0 to 2e9 at -12 and 2.1e9 to 11.1e9 with the equation.
x=[0.01e9,2e9];
y=[-12,-12];
hold on
plot(x,y,'-.or')
x=(2.1:0.1:11.1)*1e9;
y=[-6.68+12.1*log10(x/1e9/5.5)];
hold on
plot(x,y,'-.or')
  댓글 수: 4
KSSV
KSSV 2019년 5월 17일
YOu are creating huge array.....whats the necessity for that?

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

답변 (0개)

카테고리

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