<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Just as a note: the function that creates wavelet in EEGLAB is called
dftfilt(). You might want to experience with it too.<br>
<br>
Best,<br>
<br>
Arno<br>
<br>
syavash jafari wrote:
<blockquote cite="mid20060528155308.13978.qmail@web60622.mail.yahoo.com"
type="cite">
<div class="MsoNormal" dir="ltr"
style="margin: 0cm 0cm 0pt; direction: ltr; unicode-bidi: embed; text-align: left;"><span
style="font-size: 14pt; font-family: Arial;">Hello,<o:p></o:p></span></div>
<div class="MsoNormal" dir="ltr"
style="margin: 0cm 0cm 0pt; direction: ltr; unicode-bidi: embed; text-align: left;"><span
style="font-size: 14pt; font-family: Arial;"><span style=""> </span>I
want to build a new wavelet with data that is in array form (for
example :<span style="position: relative; top: 3pt;"><v:shapetype
id="_x0000_t75" stroked="f" filled="f" path="m@4@5l@4@11@9@11@9@5xe"
o:preferrelative="t" o:spt="75" coordsize="21600,21600"> <v:stroke
joinstyle="miter"></v:stroke><v:formulas><v:f
eqn="if lineDrawn pixelLineWidth 0"></v:f><v:f eqn="sum @0 1 0"></v:f><v:f
eqn="sum 0 0 @1"></v:f><v:f eqn="prod @2 1 2"></v:f><v:f
eqn="prod @3 21600 pixelWidth"></v:f><v:f
eqn="prod @3 21600 pixelHeight"></v:f><v:f eqn="sum @0 0 1"></v:f><v:f
eqn="prod @6 1 2"></v:f><v:f eqn="prod @7 21600 pixelWidth"></v:f><v:f
eqn="sum @8 21600 0"></v:f><v:f eqn="prod @7 21600 pixelHeight"></v:f><v:f
eqn="sum @10 21600 0"></v:f></v:formulas><v:path o:connecttype="rect"
gradientshapeok="t" o:extrusionok="f"></v:path><o:lock aspectratio="t"
v:ext="edit"></o:lock></v:shapetype><v:shape id="_x0000_i1025"
style="width: 29.25pt; height: 14.25pt;" type="#_x0000_t75" o:ole=""><v:imagedata
o:title=""
src="file:///C:%5CDOCUME%7E1%5CSIAVAS%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_image001.wmz"></v:imagedata></v:shape></span><span
style=""> </span>). <o:p></o:p></span></div>
<div class="MsoNormal" dir="ltr"
style="margin: 0cm 0cm 0pt; direction: ltr; unicode-bidi: embed; text-align: left;"><span
style="font-size: 14pt; font-family: Arial;"><span style=""> </span>Discussion
: Maybe, we<span style=""> </span>use <b><i>wavemngr</i></b> matlab
command to build any new wavelet family other than wavelet families
that are in wavelet toolbox.</span><span
style="font-size: 14pt; font-family: Arial;"><o:p></o:p></span></div>
<div class="MsoNormal" dir="ltr"
style="margin: 0cm 0cm 0pt; direction: ltr; unicode-bidi: embed; text-align: left;"><span
style="font-size: 14pt; font-family: Arial;"><o:p> </o:p></span></div>
<div class="MsoNormal" dir="ltr"
style="margin: 0cm 0cm 0pt; direction: ltr; unicode-bidi: embed; text-align: left;"><span
style="font-size: 14pt; font-family: Arial;">% I write in matlab
editor : <span style=""> </span><o:p></o:p></span></div>
<div class="MsoNormal" dir="ltr"
style="margin: 0cm 0cm 0pt; direction: ltr; unicode-bidi: embed; text-align: left;"><span
style="font-size: 14pt; font-family: Arial;">wavemngr('add','stsia','wstr',4,'','strwavf',[-1
1]) ;<o:p></o:p></span></div>
<div class="MsoNormal" dir="ltr"
style="margin: 0cm 0cm 0pt; direction: ltr; unicode-bidi: embed; text-align: left;"><span
style="font-size: 14pt; font-family: Arial;">y = cwt(wh,</span><st1:time
hour="13" minute="20"><span
style="font-size: 14pt; font-family: Arial;">1:20</span></st1:time><span
style="font-size: 14pt; font-family: Arial;">,'wstr') ;<o:p></o:p></span></div>
<div class="MsoNormal" dir="ltr"
style="margin: 0cm 0cm 0pt; direction: ltr; unicode-bidi: embed; text-align: left;"><span
style="font-size: 14pt; font-family: Arial;"><o:p> </o:p></span></div>
<div class="MsoNormal" dir="ltr"
style="margin: 0cm 0cm 0pt; direction: ltr; unicode-bidi: embed; text-align: left;"><span
style="font-size: 14pt; font-family: Arial;"><o:p> </o:p></span></div>
<div class="MsoNormal" dir="ltr"
style="margin: 0cm 0cm 0pt; direction: ltr; unicode-bidi: embed; text-align: left;"><span
style="font-size: 14pt; font-family: Arial;">% strwavf a function in
this form :<o:p></o:p></span></div>
<div class="MsoNormal" dir="ltr"
style="margin: 0cm 0cm 0pt; direction: ltr; unicode-bidi: embed; text-align: left;"><span
style="font-size: 14pt; font-family: Arial;">function wstr =
strwavf(ww)<o:p></o:p></span></div>
<div class="MsoNormal" dir="ltr"
style="margin: 0cm 0cm 0pt; direction: ltr; unicode-bidi: embed; text-align: left;"><span
style="font-size: 14pt; font-family: Arial;">[psi,xval,nc] =
pat2cwav(ww','polynomial',6,'continuous') ;</span><span dir="rtl"
style="font-size: 14pt; font-family: Arial;" lang="FA"><o:p></o:p></span></div>
<div class="MsoNormal" dir="ltr"
style="margin: 0cm 0cm 0pt; direction: ltr; unicode-bidi: embed; text-align: left;"><span
style="font-size: 14pt; font-family: Arial;">wstr = nc*psi ;<o:p></o:p></span></div>
<div class="MsoNormal" dir="ltr"
style="margin: 0cm 0cm 0pt; direction: ltr; unicode-bidi: embed; text-align: left;"><span
style="font-size: 14pt; font-family: Arial;"><o:p> </o:p></span></div>
<div class="MsoNormal" dir="ltr"
style="margin: 0cm 0cm 0pt; direction: ltr; unicode-bidi: embed; text-align: left;"><span
style="font-size: 14pt; font-family: Arial;">When I run this m-code an
error occur in matlab.<o:p></o:p></span></div>
<div class="MsoNormal" dir="ltr"
style="margin: 0cm 0cm 0pt; direction: ltr; unicode-bidi: embed; text-align: left;"><span
style="font-size: 14pt; font-family: Arial;">Is it possible to help
me? Please explain me in detail or announce me a internet site.<o:p></o:p></span></div>
<div class="MsoNormal" dir="ltr"
style="margin: 0cm 0cm 0pt; direction: ltr; unicode-bidi: embed; text-align: left;"><span
style="font-size: 14pt; font-family: Arial;"><o:p> </o:p></span></div>
<div class="MsoNormal" dir="ltr"
style="margin: 0cm 0cm 0pt; direction: ltr; unicode-bidi: embed; text-align: left;"><span
style="font-size: 14pt; font-family: Arial;">With best.<o:p></o:p></span></div>
<div class="MsoNormal" dir="ltr"
style="margin: 0cm 0cm 0pt; direction: ltr; unicode-bidi: embed; text-align: left;"><span
style="font-size: 14pt; font-family: Arial;">Siavash jafari<o:p></o:p></span></div>
<p> </p>
<hr size="1"></blockquote>
<br>
</body>
</html>