Inverse cmd giving errors

1 visualizzazione (ultimi 30 giorni)
Segun
Segun il 27 Ago 2014
I have getting an error message whenever I tried to use the Inverse command.
>> P=inverse(P) Undefined function 'inverse' for input arguments of type 'double'.

Risposte (2)

Salaheddin Hosseinzadeh
Salaheddin Hosseinzadeh il 27 Ago 2014
Hi Segun,
So what you want to do is, finding the inverse matrix! Alright.
define your matrix as such
x =[2,3,5;4,1,6;1,4,0]
then use inv to find its inverse
Xinverse = inv(x)
Good Luck!

stalin
stalin il 27 Ago 2014
try this P=P' or fliplr(P)or fliplr(P')

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by