Creating 100x1 vector in matlab for TDMA Method
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Mary Fasulo
am 28 Feb. 2020
Kommentiert: Mary Fasulo
am 29 Feb. 2020
Hi, the code I have so far is attached, the professor wants us to use the TDMA method to solve for 100 unknowns. I was able to use the diag function to create the 100x100 matrix but I am unsure of how to create the 100x1 vectors for the variables X1-X100 and for the repeating values of "2.5,2,1.5,1 etc". Help would be greatly appreciated! Very new to coding and the textbook offfers practically no guidance.
0 Kommentare
Akzeptierte Antwort
James Tursa
am 29 Feb. 2020
Bearbeitet: James Tursa
am 29 Feb. 2020
A = what you have already constructed
d = repmat([2.5;2.0;1.5;1.0],25,1);
Then code up your TDMA.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Genomics and Next Generation Sequencing 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!