Effacer les filtres
Effacer les filtres

How can I get an array so that it forms a matrix with only two columns?

3 vues (au cours des 30 derniers jours)
kiruthika r
kiruthika r le 26 Oct 2015
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.

Réponses (1)

Ilham Hardy
Ilham Hardy le 26 Oct 2015
Say,
x = 1:5;
y = 11:15;
xy = [x',y'];
Is this what you want?

Catégories

En savoir plus sur Multidimensional Arrays dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by