How does this matlab function works?

조회 수: 3 (최근 30일)
Priya
Priya 2014년 1월 27일
댓글: Azzi Abdelmalek 2014년 1월 27일
If I give an input delay of 0.1350 to the state space system, it doesn't make any difference to the system's response
ss_model=ss(A,B,C,D,'InputDelay',0.1350)
Someone please explain how this function works or in what cases, this function fits in exactly.

채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2014년 1월 27일
편집: Azzi Abdelmalek 2014년 1월 27일
This is not true
%-----------------model without delay-----------
A=[-11 1;-10 0];B=[0;1];C=[1 0];D=0;
ss_model1=ss(A,B,C,D)
subplot(2,1,1);
step(ss_model1)
%-----------------model wit delay----------------
retard=2
subplot(2,1,2);
ss_model2=ss(A,B,C,D,'InputDelay',retard)
step(ss_model2)
  댓글 수: 2
Priya
Priya 2014년 1월 27일
Thank you. But can you please tell me what would be the command if the delay is being given to the second input signal .
Azzi Abdelmalek
Azzi Abdelmalek 2014년 1월 27일
Look at this MIMO system
A=[-11 1;-10 0];
B=[0 0;1 1];
C=[1 0;0 1];
D=zeros(2);
ss_model1=ss(A,B,C,D)
ss_model1.InputDelay(2)=2 % delay the second input
step(ss_model1)

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Communications Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by