Plotting .mat file

17 ビュー (過去 30 日間)
Matej
Matej 2023 年 12 月 11 日
回答済み: Sulaymon Eshkabilov 2023 年 12 月 11 日
Hi,
I'm new to matlab. I'm trying to create a graph from a .mat file which I recerded on my phone, but I'm unable to do so. Any help appriciated.
  2 件のコメント
Matt J
Matt J 2023 年 12 月 11 日
Your metro.mat file doesn't contain anything.
Star Strider
Star Strider 2023 年 12 月 11 日
There is nothing to plot, although sensorlog_20231201_123144.m4a could have something if you want to share it.

サインインしてコメントする。

採用された回答

Sulaymon Eshkabilov
Sulaymon Eshkabilov 2023 年 12 月 11 日
The problem with your data is that you have not collected any measured data or saved in it.
A = load('metro.mat')
A = struct with fields:
AudioInfo: [1×1 struct]
A.AudioInfo
ans = struct with fields:
Filename: 'sensorlog_20231201_123144.m4a' CompressionMethod: 'AAC' NumChannels: 2 SampleRate: 44100 TotalSamples: 2511768 Duration: 56.9562 Title: [] Comment: [] Artist: [] BitRate: 96

その他の回答 (1 件)

Les Beckham
Les Beckham 2023 年 12 月 11 日
That mat file doesn't contain anything interesting to plot.
load metro.mat
whos
Name Size Bytes Class Attributes AudioInfo 1x1 1784 struct ans 1x34 68 char cmdout 1x33 66 char
AudioInfo
AudioInfo = struct with fields:
Filename: 'sensorlog_20231201_123144.m4a' CompressionMethod: 'AAC' NumChannels: 2 SampleRate: 44100 TotalSamples: 2511768 Duration: 56.9562 Title: [] Comment: [] Artist: [] BitRate: 96

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by