How can I plot EDF data in matlab
    2 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
    Yasir Khan
 el 10 de Jul. de 2016
  
    
    
    
    
    Respondida: Fatemeh Sadeghihassanabadi
 el 6 de Abr. de 2021
            Hi I am new to MatLab and wanted to know how I can plot EDF data. I have stored the data into a variable using edfread, using the following code.
plotData = edfread('testdata.edf');
The edf data looks like the following
plotData = 
              ver: 0
        patientID: 'test                                                                            '
         recordID: 'test                                                                            '
        startdate: '23.06.16'
        starttime: '12.10.38'
            bytes: 9472
          records: 3
         duration: 1
               ns: 36
            label: {1x36 cell}
       transducer: {1x36 cell}
            units: {1x36 cell}
      physicalMin: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]
      physicalMax: [1x36 double]
       digitalMin: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]
       digitalMax: [1x36 double]
        prefilter: {1x36 cell}
          samples: [1x36 double]
What is the best way to plot this data?
0 comentarios
Respuestas (1)
  Fatemeh Sadeghihassanabadi
 el 6 de Abr. de 2021
        Hi,
this is only the header file (information), to get the main recorded data as well you should import it like this:
[hdr, data] = edfread('testdata.edf');
0 comentarios
Ver también
Categorías
				Más información sobre EEG/MEG/ECoG en Help Center y File Exchange.
			
	Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!