필터 지우기
필터 지우기

using elements of table as variable

조회 수: 1 (최근 30일)
Ashbub
Ashbub 2018년 1월 8일
댓글: Ashbub 2018년 1월 8일
Hi I've a table A which contains numerous sets of data. Each set there are three components x,y and z. I need to plot scatter3 using these data. But don't know how to use these data from table. Files are attached.
Thanks.

채택된 답변

Walter Roberson
Walter Roberson 2018년 1월 8일
A_mat = cell2mat(A);
x = A_mat(:,1);
y = A_mat(:,2);
z = A_mat(:,3);
scatter3(x, y, z);

추가 답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by