Convert Equastion to Matlab Code
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi, I am trying to convert the following equations to matlab code.
thanks..
댓글 수: 0
답변 (2개)
Image Analyst
2023년 1월 28일
Try this:
numerator = 2 * (s + 1) .* (s - 2);
denominator = (s + 2) .* (s + 3) .* (s - 1);
H = numerator ./ denominator;
numerator = 5 * s .^ 2 + 15 * s + 10;
denominator = 5 * s .^ 4 + 7 * s .^ 3 + 20 * s .^ 2 + 24 * s;
G = numerator ./ denominator;
To learn other very fundamental concepts, invest 2 hours of your time here:
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!