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일

1 개 추천

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개)

카테고리

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

제품

릴리스

R2021a

태그

질문:

2022년 5월 15일

답변:

2022년 5월 25일

Community Treasure Hunt

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

Start Hunting!

Translated by