MATLAB Answers

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

1 view (last 30 days)
Simon Adriel Santiago
Simon Adriel Santiago on 2 Aug 2021
Answered: David Hill on 2 Aug 2021
im trying to input this two equations but i kept having troubles

Answers (1)

David Hill
David Hill on 2 Aug 2021
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

Community Treasure Hunt

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

Start Hunting!