Help with creating an array!!
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
So I want to create a single column vector with N number of rows. N being a user input number. I want to have 100 and 200 as the first and last numbers but have zeroes as all the rest...
so for a 5,1 vector it would be:
100
0
0
0
200
thanks
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Matrix Indexing finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!