Inverse cmd giving errors

5 views (last 30 days)
Segun
Segun on 27 Aug 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'.

Answers (2)

Salaheddin Hosseinzadeh
Salaheddin Hosseinzadeh on 27 Aug 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 on 27 Aug 2014
try this P=P' or fliplr(P)or fliplr(P')

Products

Community Treasure Hunt

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

Start Hunting!