필터 지우기
필터 지우기

How to convert axis graphs in Matlab

조회 수: 1 (최근 30일)
Rui Borrego
Rui Borrego 2011년 10월 14일
I have a step response from a transfer function...and when i plot it..show me that graph with some scale,something like that:xaxis[0,10] and yaxis[-2.5,0] but i want to convert those values to these:xaxis[500,515] and yaxis[220.5,223.5]..keeping the same shape..someone can help me?...how i do that?..thanks.
(electrical and electronic engineer student)

채택된 답변

Ali Isik
Ali Isik 2011년 10월 14일
I think the solution could be adding 500 to every element in x vector and adding 222 to every element in y vector.
  댓글 수: 1
Rui Borrego
Rui Borrego 2011년 10월 15일
I understand your answer..but i think it's not so easy like that..because i have a step response..something like this
an example:
x=[2];
y=[1 1 1];
sys=tf(x,y);
step(sys)
so here how can i change the axis without change shape's graph?
Like you said...could be adding the others values but in this case i can´t...this is not a plot..

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

추가 답변 (1개)

Rui Borrego
Rui Borrego 2011년 10월 17일
It was like you said..it's possible add values by the step command..thanks a lot!!!

카테고리

Help CenterFile Exchange에서 Line Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by