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

Answers (2)

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

Categories

Find more on Mathematics in Help Center and File Exchange

Products

Asked:

on 27 Aug 2014

Community Treasure Hunt

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

Start Hunting!