How to plot from a 1x64 struct of 3 fields

조회 수: 1 (최근 30일)
Yannick Tabot Njami
Yannick Tabot Njami 2019년 3월 7일
편집: Walter Roberson 2019년 3월 8일
HAllo all,
Please i need help with making a plot. I have a 1x64 strcut of 3 fields. the first field consist of a tabel with dimension 15000x5.
I would like to rund a for loop and do a plot for each table the second and third column against the second field which is x_position .
Please also consider the attachment for clarification
i shall be most grateful for any help .
thnaks in davance
  댓글 수: 2
Walter Roberson
Walter Roberson 2019년 3월 7일
편집: Walter Roberson 2019년 3월 8일
However, for any given All_nonaveragetable(K) the .table field is a table with 15000 rows, but x_position is a scalar. Do you want to do a 3D plot in which x_position is the x coordinate, All_nonaveragetable(K).table{:,2} is the y coordinate, and All_nonaveragetable(K).table{:,3} is the z coordinate ?
Yannick Tabot Njami
Yannick Tabot Njami 2019년 3월 8일
@Water Roberson.
many thanks that was the syntax i was looking fór. for each fle and respective table to refer to a column
thanks again

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

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

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by