<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; font-family: Calibri, sans-serif; "><div><div><div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px; ">Hi. Are there any resources or tutorials or references out there that would be helpful to a newbie to SciLab filtering functions? I just want to filter some data – at this point, I don't even care what kind of filter – just want to learn how!</div><div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px; "><br></div><div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px; ">At first, I thought I'd try an IIR, but I couldn't figure out how to generate the coefficients.</div><div style="font-family: Calibri, sans-serif; "><pre style="font-family: Monospaced; "><span style="color: rgb(100, 174, 100); font-style: italic; ">//y = filter(num,den,x) </span>
<br></pre><pre style="font-family: Monospaced; ">Then, I stumbled onto ffilt, which seems to generate FIR coefs, but where's the actual FIR filter function? Is it "convol"? I tried this:
<span style="font-style: normal; color: rgb(174, 92, 176); text-decoration: underline; ">plot</span><span style="font-style: normal; color: rgb(74, 85, 219); ">(</span><span style="font-style: normal; color: rgb(50, 185, 185); ">fft</span><span style="font-style: normal; color: rgb(74, 85, 219); ">(</span><span style="font-style: normal; color: rgb(174, 92, 176); text-decoration: underline; ">convol</span><span style="font-style: normal; color: rgb(74, 85, 219); ">(</span><span style="font-style: normal; color: rgb(174, 92, 176); text-decoration: underline; ">ffilt</span><span style="font-style: normal; color: rgb(74, 85, 219); ">(</span><span style="font-style: normal; color: rgb(188, 143, 143); ">"</span><span style="font-style: normal; color: rgb(188, 143, 143); ">hp</span><span style="font-style: normal; color: rgb(188, 143, 143); ">"</span><span style="font-style: normal; color: rgb(0, 0, 0); ">,</span><span style="font-style: normal; color: rgb(188, 143, 143); ">40</span><span style="font-style: normal; color: rgb(0, 0, 0); ">,</span><span style="font-style: normal; color: rgb(188, 143, 143); ">100</span><span style="font-style: normal; color: rgb(74, 85, 219); ">)</span><span style="font-style: normal; color: rgb(0, 0, 0); ">,</span><span style="font-style: normal; color: rgb(0, 0, 0); ">r</span><span style="font-style: normal; color: rgb(74, 85, 219); ">)</span><span style="font-style: normal; color: rgb(74, 85, 219); ">)</span><span style="font-style: normal; color: rgb(74, 85, 219); ">)</span></pre><pre style="font-family: Monospaced; ">It does <i>something, </i>but I'm not sure what. Am I getting close?</pre><pre style="font-family: Monospaced; "><br></pre><pre style="font-family: Monospaced; ">Thanks,</pre></div><div><div style="font-family: Calibri, sans-serif; font-size: 14px; "><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; "><span style="font-size: 12px; ">Michael Dunn | Editor-in-Chief</span><span style="font-size: 12px; "><br></span><span style="color: rgb(0, 0, 0); font-size: 12px; ">Scope Junction | </span><a href="http://www.scopejunction.com/" style="color: rgb(0, 0, 0); "><span style="font-size: 12px; ">http://www.scopejunction.com/</span></a><span style="color: rgb(0, 0, 0); font-size: 12px; "><br></span><span style="color: rgb(0, 0, 0); font-size: 12px; ">UBM Electronics</span><span style="color: rgb(0, 0, 0); font-size: 12px; "><br></span><span style="color: rgb(0, 0, 0); font-size: 12px; ">(415) 947-6096 (USA)</span><span style="color: rgb(0, 0, 0); font-size: 12px; "><br></span><span style="color: rgb(0, 0, 0); font-size: 12px; ">(519) 744-9395 (Canada)</span><span style="color: rgb(0, 0, 0); font-size: 12px; "><br></span><span style="color: rgb(0, 0, 0); font-size: 12px; ">Skype: MichaelDunn_UBM</span><span style="color: rgb(0, 0, 0); font-size: 12px; "><br></span><span style="color: rgb(0, 0, 0); font-size: 12px; ">LinkedIn: </span><a href="http://www.linkedin.com/in/cantares" style="color: rgb(0, 0, 0); "><span style="font-size: 12px; ">http://www.linkedin.com/in/cantares</span></a></span></div><div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px; "><span class="Apple-style-span" style="font-size: 18px; font-family: Helvetica, sans-serif; "><img border="0" width="63" height="100" id="_x0033_b522e7d-3d1a-4753-aac9-1e15c70f751e" src="cid:8A04FFD0-9090-47E3-9BBB-E1B283AE344C" type="image/png"></span></div><div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px; "><span class="Apple-style-span" style="font-size: 18px; font-family: Helvetica, sans-serif; "><br></span></div><div style="color: rgb(0, 0, 0); font-size: 14px; "><font class="Apple-style-span" face="Helvetica,sans-serif"><span class="Apple-style-span" style="font-size: 18px;"><br></span></font></div></div></div></div></body></html>