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

4 ビュー (過去 30 日間)
Ersheid AL Noaimi
Ersheid AL Noaimi 2015 年 3 月 30 日
コメント済み: Stephen23 2015 年 3 月 30 日
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 日
Element wise operation fixes the error :
f=-60./(s.^2+5*s+48.5);
  3 件のコメント
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?

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeMATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by