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

Answers (2)

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

This question is closed.

Tags

Asked:

on 20 Mar 2018

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!