Forming a tridagonical matrix

1 vue (au cours des 30 derniers jours)
stamos dontas
stamos dontas le 18 Oct 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

Réponses (0)

Catégories

En savoir plus sur Creating and Concatenating Matrices dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by