convert ppg signal into visible graph

7 visualizaciones (últimos 30 días)
RandomChikiBum
RandomChikiBum el 15 de Mayo de 2022
Respondida: Chandra el 25 de Mayo de 2022
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:-

Respuesta aceptada

Chandra
Chandra el 25 de Mayo de 2022
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

Más respuestas (0)

Categorías

Más información sobre Graph and Network Algorithms en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by