How can I save data in a multidimensional array

I want to build a multidimensional array that saves the follwing data.
Size of the array should be the following:
Vego : 0 - 180
Aego : -3 - 5
Atarget: -3 - 5
Rel_v: 0-150
Rel_a : -5 - 5
Rel_x : 0 - 180
The idea is be filling up this array with these values from the table

댓글 수: 1

Sindar
Sindar 2020년 1월 20일
What does "0 - 180" mean in terms of size?
Do you have this table in some other program and want to read the data in? If so, try the import tool (https://www.mathworks.com/help/matlab/import_export/select-spreadsheet-data-interactively.html)

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

 채택된 답변

KSSV
KSSV 2020년 1월 20일

0 개 추천

As you have Table T in your hand. You have what you want in hand already. You can access your required array suing.
T.Vego
T.Rel_x
Read about Table for further information.
Note that, it is not reuired to save each table data into individual variable seperately. It is waste of time and memory.

댓글 수: 1

Mariana
Mariana 2020년 1월 24일
Yes, I share the same opinion with you a multidimensional array is not optimal for this application. I just wanted to know more points of view.

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Tables에 대해 자세히 알아보기

질문:

2020년 1월 18일

댓글:

2020년 1월 24일

Community Treasure Hunt

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

Start Hunting!

Translated by