MATLAB Answers

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

1 ビュー (過去 30 日間)
kiruthika r
kiruthika r 2015 年 10 月 26 日
回答済み: Ilham Hardy 2015 年 10 月 26 日
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.

回答 (1 件)

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by