Forming a tridagonical matrix

5 visualizzazioni (ultimi 30 giorni)
stamos dontas
stamos dontas il 18 Ott 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

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by