<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi All,</p>
<p>I am asking this question again since I tried on our <b>HPC server</b>, and still I need more memory for computation.</p>
<p>Do you have any idea how can I plot my signal in time-frequency?</p>
<p>I wrote down the detail in my following post.</p>
<p><br>
</p>
<p>Thanks!</p>
<p>Bahar</p>
<br>
<div style="color: rgb(0, 0, 0);">
<div dir="ltr"><br>
<div> </div>
</div>
<div>
<div style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Hello All,</p>
<p>I am trying to apply wavelet on my signal to see HFOs in time-frequency plot.</p>
<p><u>The sampling rate of my signal is 30K. </u></p>
<p><b>I will get an error: "</b></p>
<div><b>Error using fft</b></div>
<div><b>Out of memory. Type HELP MEMORY for your options.</b></div>
<div><span style="font-size:12pt">"</span><br>
</div>
<p></p>
<p>here is what I wrote according to <a href="http://www.fieldtriptoolbox.org/reference/ft_freqanalysis" class="OWAAutoLink" id="LPlnk404110">
http://www.fieldtriptoolbox.org/reference/ft_freqanalysis</a>:</p>
<div id="LPBorder_GT_14728454719330.6747958041670916" style="margin-bottom: 20px; overflow: auto; width: 100%; text-indent: 0px;">
<table id="LPContainer_14728454719270.9139918885440783" cellspacing="0" style="width: 90%; position: relative; overflow: auto; padding-top: 20px; padding-bottom: 20px; margin-top: 20px; border-top: 1px dotted rgb(200, 200, 200); border-bottom: 1px dotted rgb(200, 200, 200); background-color: rgb(255, 255, 255);">
<tbody>
<tr valign="top" style="border-spacing: 0px;">
<td id="ImageCell_14728454719290.7429732386815968" colspan="1" style="width: 250px; position: relative; display: table-cell; padding-right: 20px;">
<div id="LPImageContainer_14728454719290.6558539511974097" style="height: 150px; position: relative; margin: auto; display: table; width: 150px; background-color: rgb(255, 255, 255);">
<a id="LPImageAnchor_14728454719300.19290236018320095" href="http://www.fieldtriptoolbox.org/reference/ft_freqanalysis" target="_blank" style="display: table-cell; text-align: center;"><img aria-label="Preview image with link selected. Double-tap to open the link." id="LPThumbnailImageID_14728454719300.4611620808768795" width="150" height="150" style="display: inline-block; max-width: 250px; max-height: 250px; height: 150px; width: 150px; border-width: 0px; vertical-align: bottom;" src="http://www.fieldtriptoolbox.org/_media/logo-share.png"></a></div>
</td>
<td id="TextCell_14728454719310.6668104683791809" colspan="2" style="vertical-align: top; position: relative; padding: 0px; display: table-cell;">
<div id="LPRemovePreviewContainer_14728454719310.7413848096018361"></div>
<div id="LPTitle_14728454719310.5080183064967414" style="top: 0px; color: rgb(0, 120, 215); font-weight: normal; font-size: 21px; font-family: wf_segoe-ui_light, "Segoe UI Light", "Segoe WP Light", "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; line-height: 21px;">
<a id="LPUrlAnchor_14728454719310.6858708976509764" href="http://www.fieldtriptoolbox.org/reference/ft_freqanalysis" target="_blank" style="text-decoration: none;">reference:ft_freqanalysis – FieldTrip</a></div>
<div id="LPMetadata_14728454719320.31841741741292817" style="margin: 10px 0px 16px; color: rgb(102, 102, 102); font-weight: normal; font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; font-size: 14px; line-height: 14px;">
www.fieldtriptoolbox.org</div>
<div id="LPDescription_14728454719320.44875643525288234" style="display: block; color: rgb(102, 102, 102); font-weight: normal; font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; font-size: 14px; line-height: 20px; max-height: 100px; overflow: hidden;">
Note that this reference documentation is identical to the help that is displayed in MATLAB when you type “help ft_freqanalysis”. FT_FREQANALYSIS performs ...</div>
</td>
</tr>
</tbody>
</table>
</div>
<br>
<div style="margin-bottom:20px; overflow:auto; width:100%; text-indent:0px">
<table cellspacing="0" style="width:90%; overflow:auto; padding-top:20px; padding-bottom:20px; margin-top:20px; border-top-width:1px; border-top-style:dotted; border-top-color:rgb(200,200,200); border-bottom-width:1px; border-bottom-style:dotted; border-bottom-color:rgb(200,200,200); background-color:rgb(255,255,255)">
<tbody>
<tr valign="top" style="border-spacing:0px">
<td colspan="1" style="width:250px; display:table-cell; padding-right:20px">
<div style="height:150px; margin:auto; display:table; width:150px; background-color:rgb(255,255,255)">
<a href="http://www.fieldtriptoolbox.org/reference/ft_freqanalysis" style="display:table-cell; text-align:center"><img width="150" height="150" style="display:inline-block; max-width:250px; max-height:250px; height:150px; width:150px; border-width:0px; vertical-align:bottom" src="http://www.fieldtriptoolbox.org/_media/logo-share.png"></a></div>
</td>
<td colspan="2" style="vertical-align: top; padding: 0px; display: table-cell; position: relative;">
<div><a class="ms-Icon--x ms-icon-font-size-14" style="font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; font-weight: normal; position: relative; cursor: pointer; padding: 8px; float: right; color: rgb(102, 102, 102); -webkit-user-select: none; margin-left: 10px; background-color: rgb(244, 249, 253);"></a></div>
<div style="top:0px; color:rgb(0,120,215); font-weight:normal; font-size:21px; font-family:wf_segoe-ui_light,"Segoe UI Light","Segoe WP Light","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; line-height:21px">
<a href="http://www.fieldtriptoolbox.org/reference/ft_freqanalysis" style="text-decoration:none">reference:ft_freqanalysis – FieldTrip</a></div>
<div style="margin:10px 0px 16px; color:rgb(102,102,102); font-weight:normal; font-family:wf_segoe-ui_normal,"Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; font-size:14px; line-height:14px">
www.fieldtriptoolbox.org</div>
<div style="display:block; color:rgb(102,102,102); font-weight:normal; font-family:wf_segoe-ui_normal,"Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; font-size:14px; line-height:20px; max-height:100px; overflow:hidden">
Note that this reference documentation is identical to the help that is displayed in MATLAB when you type “help ft_freqanalysis”. FT_FREQANALYSIS performs ...</div>
</td>
</tr>
</tbody>
</table>
</div>
<br>
<p><br>
</p>
<p><span style="font-size:12pt">cfg= [];</span><br>
</p>
<p></p>
<div>cfg.pad = 'maxperlen';</div>
<div>cfg.method = 'wavelet';</div>
<div>cfg.output = 'pow';</div>
<div>%cfg.channel = 'chan 4';</div>
<div> cfg.toi = (1:size(eeg.eeg_data,2))/Fs;</div>
<div>% cfg.foilim  = [80 500];</div>
<div>[freq] = ft_freqanalysis(cfg, data1);</div>
<br>
<p></p>
<div>
<div style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<p style="font-family:Tahoma; font-size:13px">Do you have any idea? is it realted to my sampling rate?</p>
<p style="font-family:Tahoma; font-size:13px">Thanks!</p>
<p style="font-family:Tahoma; font-size:13px">Bahar</p>
<p style="font-family:Tahoma; font-size:13px"><i></i></p>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>