convert ppg signal into visible graph

3 ビュー (過去 30 日間)
RandomChikiBum
RandomChikiBum 2022 年 5 月 15 日
回答済み: Chandra 2022 年 5 月 25 日
I am given a mat file with row wise data samples of a PPG signal with last column as target labels (0 and 1), I should convert this to visibility graph
I am given the following mat file:-

採用された回答

Chandra
Chandra 2022 年 5 月 25 日
Hi,
use this code to plot the values on graph
load('all_subjects (1).mat');
for i = 1:219 %change the range depending on requirement(eg. i = 1:10)
A = cell2mat(C(i));
plot(A);
hold on; %it is used to plot all graphs on one figure,it can be changed to figure if it needed in different figures
end
refer to plot for different styles of graph
refer to cell2mat for converstion of cell data to matrix

その他の回答 (0 件)

カテゴリ

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

タグ

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by