I'm new in matlab and I'm having trouble with the coding

조회 수: 1 (최근 30일)
Simon Adriel Santiago
Simon Adriel Santiago 2021년 8월 2일
답변: David Hill 2021년 8월 2일
=(2s(4s^2+19s+20))/(20s^4+66s^3+73s^2+57s+30)
=(30s^2+43s+6)/(20s^4+66s^3+73s^2+57s+30)
im trying to input this two equations but i kept having troubles
(ilaplace)

답변 (1개)

David Hill
David Hill 2021년 8월 2일
x=(2*s*(4*s^2+19*s+20))/(20*s^4+66*s^3+73*s^2+57*s+30);%s is scalar
x=(2*s.*(4*s.^2+19*s+20))./(20*s.^4+66*s.^3+73*s.^2+57*s+30);%s is vector/matrix

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by