I need to find an acceleration transfer function that relates the acceleration of the sprung mass and the road surface. Is the code I am using correct?
조회 수: 8 (최근 30일)
이전 댓글 표시
clc
close all
clear
ms = 300;
mu = 50;
ks = 16000;
bs = 1000;
kt = 160000;
A = [ 0 1 0 0; ks/ms -bs/ms ks/ms bs/ms; 0 0 0 1; (kt+ks)/mu bs/mu -ks/mu -bs/mu];
B = [ 0 0; 1/ms 0; 0 0; -1/mu kt/mu];
C = [0 1 0 0];
D = [0 0];
sys = ss(A,B,C,D);
step(sys);
hold on
figure
bode(sys);
댓글 수: 0
답변 (1개)
Shashwat Bajpai
2019년 12월 11일
I would suggest using the tf function to create the transfer function further you can use ss2tf function to change your existing state space model to transfer function form. The following links might help:
Hope this helps!
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Stability Analysis에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!