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

1 次查看(过去 30 天)
=(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