Info

この質問は閉じられています。 編集または回答するには再度開いてください。

How to structure Data in OOP?

1 回表示 (過去 30 日間)
kurzer
kurzer 2020 年 11 月 3 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
Hey Community,
I'm fairly new to Object Oriented Programming and would like to use the approach for programming a new project, but I'm struggeling with some kind of structure issue.
The main goal is to analyse data from 3 different measurement devices. Thats the easy part, as I can create a class for each device and calculate all I need.
But I also have to do it for 15 subjects à 4 sessions and each session 3 trails.
For statistics later, I need to access -for exemple the calculated torque- from each subject, but all trails from the third session.
I don't know how to structure my data in order to achieve this.
I would apprechiate your help.
All the best, stay safe,
Mario

回答 (1 件)

Hanxiong Wang
Hanxiong Wang 2020 年 11 月 4 日
Hi Mario,
Matlab has the ability to manage structure data and Object Oriented Programming.
You may refer to the following articles for more information:
Hope this could help you.
Thanks!

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by