How can you obtain a system time response to a ramp function in Matlab?
조회 수: 3 (최근 30일)
이전 댓글 표시
I need to explain this in words and as I am new to matlab I do not know how to obtain a ramp function from a system time response via Matlab.
댓글 수: 0
채택된 답변
TastyPastry
2015년 10월 21일
t=0:0.1:10
alpha=2
ramp=alpha*t % Your input signal
model=tf(1,[1 20 3]); % Your transfer function
[y,t]=lsim(model,ramp,t)
plot(t,y)
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Dynamic System Models에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!