Loading IMU data into MatLab

Hello,
I have an IMU with which I will be recording gyro, acceleration, and magenetomer data, along with a timestamp. The MatLab examples have excellent tutorials, however I cannot see to understand the data file layout of the Matlab file. Example: https://www.mathworks.com/help/fusion/ref/orientationplotter.plotorientation.html?s_tid=srchtitle
All such Sensor Fusion examples use a file called: rpy_9axis.mat. Here is some example code.
My question: If I have data in a file in columns Gx,Gy,Gz, Ax, Ay, Az, Mx, My, Mz, Time - Then how can I get this data into the exact same format as the Matlab rpy_9axis.mat format so I can load my data into the MatLab example programs ? I just don't understand how this .MAT file is created.
Example code:
ld = load('rpy_9axis.mat')
accel = ld.sensorData.Acceleration;
gyro = ld.sensorData.AngularVelocity;
Fs = ld.Fs;
Appreciate the help
Mike

回答 (3 件)

sergen gulal
sergen gulal 2019 年 7 月 3 日
編集済み: sergen gulal 2019 年 7 月 3 日

0 投票

I am also wondering this question's answer too.
edit: grammar.
sana sabah
sana sabah 2019 年 11 月 17 日

0 投票

my question is the same, any one can answer us please?
Shaghayegh Ghandali
Shaghayegh Ghandali 2021 年 1 月 28 日

0 投票

I do have same question, i have been working with metabase sensors for analysing
and i get the table that has yaw,roll, pitch and heading plus elapsed, and i want to make same plot that doesn't have any error and have clean plot

カテゴリ

ヘルプ センター および File ExchangeDownloads についてさらに検索

質問済み:

2019 年 3 月 14 日

回答済み:

2021 年 1 月 28 日

Community Treasure Hunt

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

Start Hunting!

Translated by