System of equations coding problems

Hi, I'm new to Matlab and I was wondering if anyone can lead in the right direction for the solving a system of equations like the second array pictured? I've solved the first one but i'm stuck on the second. Thanks

Réponses (2)

Star Strider
Star Strider le 20 Mar 2018
Modifié(e) : Star Strider le 20 Mar 2018

0 votes

See the documentation on mldivide,\ (link).
Torsten
Torsten le 20 Mar 2018
n = 10;
A = full(gallery('tridiag',n,1,2,3));

Cette question est clôturée.

Tags

Clôturé :

le 20 Août 2021

Community Treasure Hunt

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

Start Hunting!

Translated by