Inverse cmd giving errors

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'.

Antworten (2)

Salaheddin Hosseinzadeh
Salaheddin Hosseinzadeh am 27 Aug. 2014

1 Stimme

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 am 27 Aug. 2014

0 Stimmen

try this P=P' or fliplr(P)or fliplr(P')

Kategorien

Mehr zu Mathematics finden Sie in Hilfe-Center und File Exchange

Produkte

Gefragt:

am 27 Aug. 2014

Community Treasure Hunt

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

Start Hunting!

Translated by