LTI data extraction
이전 댓글 표시
Hello,
I have a continuous simulink model with mulitple transfer functions that I put into the LTI toolkit, but I would like to extract the bode plot (Magnitude and phase) into variable names so I can compare it to a discrete version I wrote. Is there a way to extract the data? or should I not use LTI and go about it differently?
Thanks
here is the LTI code I used:
mdl = 'MODEL_Continuous'; % set to file name of simulink model
io = getlinio(mdl) % get i/o signals of mdl
op = operspec(mdl)
op = findop(mdl,op) % calculate model operating point
lin = linearize(mdl,op,io) % compute state space model of lin sys
ltiview(lin)
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Frequency-Domain Analysis에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!