How can I get an array so that it forms a matrix with only two columns?
Ältere Kommentare anzeigen
I have to get an array for a data to store my x-axis and y-axis value so that it forms a matrix with only two columns.
Antworten (1)
Ilham Hardy
am 26 Okt. 2015
Say,
x = 1:5;
y = 11:15;
xy = [x',y'];
Is this what you want?
Kategorien
Mehr zu Matrices and Arrays finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!