Forming a tridagonical matrix

1 Ansicht (letzte 30 Tage)
stamos dontas
stamos dontas am 18 Okt. 2021
Hello,
Lets say I have 2 vectors v=[2 3], w=[6 7 8] and a zero nxn matrix. How can I form the tridagonical matrix which will begin and end with v vector and for each middle row, vector w middle element will be placed in his diagonal? Also will I be able to solve this system if I have a B=[1,n] row vector with linsolve?
Thank you in advance

Antworten (0)

Kategorien

Mehr zu Operating on Diagonal Matrices finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by