Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Backslash Operator on a vector In MATLAB
Replies: 2   Last Post: Mar 14, 2013 9:29 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Torsten

Posts: 1,477
Registered: 11/8/10
Re: Backslash Operator on a vector In MATLAB
Posted: Mar 14, 2013 7:08 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

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.



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.