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

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?

답변 (1개)

Youssef  Khmou
Youssef Khmou 2015년 3월 30일

0 개 추천

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

댓글 수: 3

Ersheid AL Noaimi
Ersheid AL Noaimi 2015년 3월 30일
it should be like this though. i am getting a different answer.
Ersheid AL Noaimi
Ersheid AL Noaimi 2015년 3월 30일
Stephen23
Stephen23 2015년 3월 30일
@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?

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 MATLAB에 대해 자세히 알아보기

질문:

2015년 3월 30일

댓글:

2015년 3월 30일

Community Treasure Hunt

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

Start Hunting!

Translated by