<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:14pt"><DIV>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3>Hi,</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3>I have a cnt file called my_file.cnt. The number of channels in this file is 129. I want to apply some signal processing techniques on the EEG data in this file using Matlab. For doing this, I used the function (</FONT><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">read_eep_cnt.m</SPAN><FONT size=3>) to read the data. After processing the data, I tried to convert it back to the cnt format. I know that the function (</FONT><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">writecnt.m) can be used for doing this. However, this function needs header information, which is not provided by the function </SPAN><FONT size=3>(</FONT><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">read_eep_cnt.m</SPAN><FONT size=3>). Finally I discovered that the headers needed by the function (</FONT><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">read_eep_cnt.m</SPAN><FONT size=3>)
can be obtained by reading the data using the function (</FONT><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">loadcnt.m</SPAN><FONT size=3>) rather than the function (</FONT><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">read_eep_cnt.m</SPAN><FONT size=3>). The problem is that, the function (</FONT><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">loadcnt.m</SPAN><FONT size=3>) does not read the EEG data correctly. For example, when I used this function to read the data in the file my_file.cnt, the function produced a dataset with 4012 channels!!!! rather than 129 channels.</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3>So, can you please tell me how can I solve this problem?</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p><FONT size=3> </FONT></o:p></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3>Best,</FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" /><st1:place w:st="on"><FONT size=3>Nasser</FONT></st1:place></P></DIV></div><br>
</body></html>