필터 지우기
필터 지우기

ezplot of function x = constant

조회 수: 3 (최근 30일)
Tyler
Tyler 2014년 2월 25일
댓글: Tyler 2014년 2월 25일
Hi, i am trying to ezplot the function X = constant (to overlay with other plots) using the following command:
n = ezplot(x-P*Sf/Tc,[0,0.25]); set(n,'Color','r')
Where P, Sf, Tc are constants
however, when its plotted i actually see a line with a positive slope, which suggests that it is not being interpreted properly.
Any ideas on how to do this?
  댓글 수: 2
Star Strider
Star Strider 2014년 2월 25일
Please provide the code you actually used to run that command. I can’t get it to run, so I can’t figure out what the problem is. It would help to know what x, P, Sf, and Tc are.
Tyler
Tyler 2014년 2월 25일
they are just constants
in this case:
P = 1E-5 Sf = 540*10^6 Tc = 0.8*10^6
I dont have access to the code at the moment, but theres not much more too it than 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