Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.
|
|
Torsten
Posts:
1,183
Registered:
11/8/10
|
|
Re: Backslash Operator on a vector In MATLAB
Posted:
Mar 14, 2013 7:08 AM
|
|
leaderbabuabc@gmail.com wrote in message <1760c185-efa5-4db6-baf1-9f38761347aa@googlegroups.com>... > Dear Friends, > > In MATLAB let us type > > A = [0.1195952380 0.2552619050 0.3235000000 0.1289285710 0.6675476190 -0.0770000000 0.1973809520]; > > and > > b0 = 1.7250238100; > > If I use backslash operator as 'A\b0', the result is > > [0 0 0 0 2.5841 0 0] > > and if I use > > pinv(A)*b0 > > we get the answer as: > > 0.2985 0.6370 0.8073 0.3217 1.6659 -0.1922 0.4926 > > But many documents which talk about backslash operator, say that both the operations should result in the same answer. Why is this not so in this case? > > Can anybody help me in this regard? > > Thanks, > > Babu.
To say it simple: because your equation has many solutions that are equally valid.
Best wishes Torsten.
|
|
|
|