Filter löschen
Filter löschen

Matlab residue command not working ,,,,, ?

2 Ansichten (letzte 30 Tage)
Altin Guberi
Altin Guberi am 13 Dez. 2015
Beantwortet: Guillaume am 13 Dez. 2015
Ok , so basically I am new at this command & when I tried to run a few examples I found from matlab examples site , I encountered a problem ; none of the values I was looking for appeared : Here is the code :
b = [-4 8];
a = [1 6 8];
[r,p,k] = residue(b,a)
Here the expected result :
r =
-12
8
p =
-4
-2
k =
[]
But when I run , i just get k= [] . Anything I can do to have my expected answer ??

Akzeptierte Antwort

Guillaume
Guillaume am 13 Dez. 2015
"Anything I can do to have my expected answer ??"
Increase the size of your command window, or scroll up?
Alternatively:
format compact
before typing your code

Weitere Antworten (0)

Kategorien

Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by