필터 지우기
필터 지우기

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

조회 수: 3 (최근 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?

카테고리

Help CenterFile Exchange에서 Multidimensional Arrays에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by