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

2 Ansichten (letzte 30 Tage)
Ersheid AL Noaimi
Ersheid AL Noaimi am 30 Mär. 2015
Kommentiert: Stephen23 am 30 Mär. 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?

Antworten (1)

Youssef  Khmou
Youssef Khmou am 30 Mär. 2015
Element wise operation fixes the error :
f=-60./(s.^2+5*s+48.5);
  3 Kommentare
Ersheid AL Noaimi
Ersheid AL Noaimi am 30 Mär. 2015
Stephen23
Stephen23 am 30 Mär. 2015
@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?

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu MATLAB finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by