I have been set a series of questions as part of my MATLAB coursework, one of them is stated here; "Solve a linear system of equation A

 Réponse acceptée

Star Strider
Star Strider le 28 Nov 2017

0 votes

You will find the mldivide,\ (link) function useful.

3 commentaires

Dan Smith
Dan Smith le 28 Nov 2017
okay thankyou, like i say i have next to 0 matlab knowledge so is there any way you could go into more detail on this, why x = mldivide instead of x = a/b, which is another command ive seen that could potentially be useful
Dan Smith
Dan Smith le 28 Nov 2017
so if i simply pluck two singular matrices out of the air and call them A and B, typing mldivide(A,B) will solve this for me?
Star Strider
Star Strider le 28 Nov 2017
If they’re singular, no.
If you want the nullspace of your matrix, use the null (link) function.

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by