필터 지우기
필터 지우기

how to compile and print data.

조회 수: 2 (최근 30일)
andrew
andrew 2013년 7월 24일
I am trying to compile sets of data together and can not figure out how to do it.
I have a set of 10 values that correspond to a specific cell how do I print it so that I can have one cell be matched with the corresponding 10 values.
for example,
a = 1,2,3,4,5,6,7,8,9,10 b = 11,12,13,14,15,16,17,18,19,20
i would like it so that a is on the left and the corresponding values are printed on the right and b to be printed right below a.

답변 (1개)

Azzi Abdelmalek
Azzi Abdelmalek 2013년 7월 24일
a =[ 1,2,3,4,5,6,7,8,9,10]
b = [11,12,13,14,15,16,17,18,19,20]
[a' b']

카테고리

Help CenterFile Exchange에서 Workspace Variables and MAT-Files에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by