MATLAB Answers

0

How can i set (f) = (-60/(s^2+5s+48.5))?

Asked by Ersheid AL Noaimi on 30 Mar 2015
Latest activity Commented on by Stephen Cobeldick on 30 Mar 2015
How can i set (f) = (-60/(s^2+5s+48.5))? but i keep getting the error. Can someone show me the correct code for this one?

  0 Comments

Sign in to comment.

1 Answer

Answer by Youssef Khmou
on 30 Mar 2015

Element wise operation fixes the error :
f=-60./(s.^2+5*s+48.5);

  3 Comments

it should be like this though. i am getting a different answer.
@Ersheid AL Noaimi: Youssef Khmou has given you the correct code for this equation. What is the problem now? Are you getting an error message? If so, what exactly?

Sign in to comment.