Hello,
I want to do IIR filtering in Scilab, but can't really figure out how it all
works. The Matlab code for what I want to do would look something like this:
x = some signal...
B = [1 2 3];
A = [4 5 6];
y = filter(B,A,x);
Now, that's quite simple, but how do I do the same thing in Scilab? It looks
like I should be using flts(), but I can't really figure out how to
translate my coefficient vectors A & B into whatever formatting flts()
expects.
Thanks,
Jesper
|
|
0
|
|
|
|
Reply
|
JBK
|
9/5/2003 1:31:59 PM |
|
Thus spake JBK:
> Hello,
>
> I want to do IIR filtering in Scilab, but can't really figure out how it all
> works. The Matlab code for what I want to do would look something like this:
>
> x = some signal...
> B = [1 2 3];
> A = [4 5 6];
> y = filter(B,A,x);
>
> Now, that's quite simple, but how do I do the same thing in Scilab? It looks
> like I should be using flts(), but I can't really figure out how to
> translate my coefficient vectors A & B into whatever formatting flts()
> expects.
This may not help you at all... but if the reason you're using Scilab is
because it's a free simulation package, you could try octave
(www.octave.org) -- it is also a free simulation package, but it is
largely code compatible with MatLab. Virtually all the (albeit fairly
basic I imagine) simulations I've written in MatLab run without changes
in octave. Your code above would certainly work.
I haven't tried the windows version, but there certainly is one
mentioned on the downloads page.
Might be completely useless to you if you're set on using SciLab, but I
figured it couldn't hurt!
Cheers,
Al
|
|
0
|
|
|
|
Reply
|
A
|
9/5/2003 2:12:47 PM
|
|
> This may not help you at all... but if the reason you're using Scilab is
> because it's a free simulation package, you could try octave
> (www.octave.org) -- it is also a free simulation package, but it is
> largely code compatible with MatLab. Virtually all the (albeit fairly
> basic I imagine) simulations I've written in MatLab run without changes
> in octave. Your code above would certainly work.
>
> I haven't tried the windows version, but there certainly is one
> mentioned on the downloads page.
>
> Might be completely useless to you if you're set on using SciLab, but I
> figured it couldn't hurt!
>
> Cheers,
>
> Al
As you've already guessed the only reason I use Scilab is that it is free. I
would definitely prefer Matlab if it hadn't been for the ridiculous price. I
know that Octave is more Matlab-compatible, but the signal-processing
toolbox in Scilab is far more extensive than the one in Octave.
Thanks anyway,
Jesper
|
|
0
|
|
|
|
Reply
|
JBK
|
9/5/2003 3:54:57 PM
|
|
Maybe 'frmag' will help somehow?
"JBK" <jesper.kristensen@virginNOSPAM.net> wrote in message
news:4jbajb.m5d.ln@172.16.100.88...
> > This may not help you at all... but if the reason you're using Scilab is
> > because it's a free simulation package, you could try octave
> > (www.octave.org) -- it is also a free simulation package, but it is
> > largely code compatible with MatLab. Virtually all the (albeit fairly
> > basic I imagine) simulations I've written in MatLab run without changes
> > in octave. Your code above would certainly work.
> >
> > I haven't tried the windows version, but there certainly is one
> > mentioned on the downloads page.
> >
> > Might be completely useless to you if you're set on using SciLab, but I
> > figured it couldn't hurt!
> >
> > Cheers,
> >
> > Al
>
> As you've already guessed the only reason I use Scilab is that it is free.
I
> would definitely prefer Matlab if it hadn't been for the ridiculous price.
I
> know that Octave is more Matlab-compatible, but the signal-processing
> toolbox in Scilab is far more extensive than the one in Octave.
>
> Thanks anyway,
> Jesper
>
>
|
|
0
|
|
|
|
Reply
|
Alexander
|
9/5/2003 6:14:10 PM
|
|
Hi Jesper,
> I want to do IIR filtering in Scilab
I _think_ you're looking for rtitr() (I've never tried it so YMMV).
HTH,
Rick Armstrong
(reply address is bogus)
|
|
0
|
|
|
|
Reply
|
Rick
|
9/5/2003 8:15:02 PM
|
|
JBK wrote:
>
> As you've already guessed the only reason I use Scilab is that it is free. I
> would definitely prefer Matlab if it hadn't been for the ridiculous price. I
> know that Octave is more Matlab-compatible, but the signal-processing
> toolbox in Scilab is far more extensive than the one in Octave.
>
The Matlab student price is very reasonable and their policy
for qualifying as a student is too. (At least it used to
be.)
Bob
--
"Things should be described as simply as possible, but no
simpler."
A. Einstein
|
|
0
|
|
|
|
Reply
|
Bob
|
9/6/2003 12:55:39 AM
|
|
> The Matlab student price is very reasonable and their policy
> for qualifying as a student is too. (At least it used to
> be.)
How about not being a student at all?
And can a student license be used for commercial use as well?
/Jesper
|
|
0
|
|
|
|
Reply
|
JBK
|
9/6/2003 11:19:48 PM
|
|
no, in the student license agreement it explicity says "non-commercial"
JBK wrote:
>>The Matlab student price is very reasonable and their policy
>>for qualifying as a student is too. (At least it used to
>>be.)
>
>
> How about not being a student at all?
> And can a student license be used for commercial use as well?
>
> /Jesper
>
>
|
|
0
|
|
|
|
Reply
|
sammy
|
9/7/2003 3:16:57 AM
|
|
there's a dedicated newsgroup
comp.soft.sys.math.scilab
you should try to ask there
good luck!
"JBK" <jesper.kristensen@virginNOSPAM.net> ha scritto nel messaggio
news:973ajb.o1e.ln@172.16.100.88...
> Hello,
>
> I want to do IIR filtering in Scilab, but can't really figure out how it
all
> works. The Matlab code for what I want to do would look something like
this:
>
> x = some signal...
> B = [1 2 3];
> A = [4 5 6];
> y = filter(B,A,x);
>
> Now, that's quite simple, but how do I do the same thing in Scilab? It
looks
> like I should be using flts(), but I can't really figure out how to
> translate my coefficient vectors A & B into whatever formatting flts()
> expects.
>
> Thanks,
> Jesper
>
>
|
|
0
|
|
|
|
Reply
|
Fulvio_P
|
9/7/2003 5:44:12 PM
|
|
You might also look at O-Matrix, (http://www.omatrix.com). It's not free,
but it's quite inexpensive and provides support and other commercial
benefits.
"A. S. Budden" <newsreader.mail@NOSPAM.southparade.vispa.com> wrote in
message news:20030905141247.GA29148@zakalwe...
> Thus spake JBK:
> > Hello,
> >
> > I want to do IIR filtering in Scilab, but can't really figure out how it
all
> > works. The Matlab code for what I want to do would look something like
this:
> >
> > x = some signal...
> > B = [1 2 3];
> > A = [4 5 6];
> > y = filter(B,A,x);
> >
> > Now, that's quite simple, but how do I do the same thing in Scilab? It
looks
> > like I should be using flts(), but I can't really figure out how to
> > translate my coefficient vectors A & B into whatever formatting flts()
> > expects.
>
> This may not help you at all... but if the reason you're using Scilab is
> because it's a free simulation package, you could try octave
> (www.octave.org) -- it is also a free simulation package, but it is
> largely code compatible with MatLab. Virtually all the (albeit fairly
> basic I imagine) simulations I've written in MatLab run without changes
> in octave. Your code above would certainly work.
>
> I haven't tried the windows version, but there certainly is one
> mentioned on the downloads page.
>
> Might be completely useless to you if you're set on using SciLab, but I
> figured it couldn't hurt!
>
> Cheers,
>
> Al
|
|
0
|
|
|
|
Reply
|
Harmonic
|
9/7/2003 6:32:50 PM
|
|
"Harmonic Software Inc." wrote:
>
> You might also look at O-Matrix, (http://www.omatrix.com). It's not free,
> but it's quite inexpensive and provides support and other commercial
> benefits.
>
A quick look at the site didn't tell me if it's {zero}-Matrix or
{oh}-Matrix. I hope for the former, and that it allows zero-based
arrays.
Jerry
--
Engineering is the art of making what you want from things you can get.
�����������������������������������������������������������������������
|
|
0
|
|
|
|
Reply
|
Jerry
|
9/7/2003 8:22:05 PM
|
|
<Filtering with Scilab>
| x = some signal...
| B = [1 2 3];
| A = [4 5 6];
| y = filter(B,A,x);
z=poly(0,'z');
N=1+2/z+3/z**2
D=4+5/z+6/z**2
H=N./D
H=syslin('d',H);
y=flts(x,H);
|
|
0
|
|
|
|
Reply
|
Curl
|
9/8/2003 7:31:47 AM
|
|
Thanks!
I did try the dedicated Scilab newsgroup, but it appears to have very few
readers.
/Jesper
"Curl" <Mr.Bilou@microsoft.fr> wrote in message
news:3f5c2f76$0$10404$626a54ce@news.free.fr...
> <Filtering with Scilab>
>
> | x = some signal...
> | B = [1 2 3];
> | A = [4 5 6];
> | y = filter(B,A,x);
>
> z=poly(0,'z');
> N=1+2/z+3/z**2
> D=4+5/z+6/z**2
> H=N./D
> H=syslin('d',H);
> y=flts(x,H);
>
>
|
|
0
|
|
|
|
Reply
|
JBK
|
9/8/2003 7:50:53 PM
|
|
"Curl" <Mr.Bilou@microsoft.fr> wrote in message
news:3f5c2f76$0$10404$626a54ce@news.free.fr...
> <Filtering with Scilab>
I have a basic question about SCILAB system in here.
> z=poly(0,'z');
> N=1+2/z+3/z**2
> D=4+5/z+6/z**2
> H=N./D
> H=syslin('d',H);
> y=flts(x,H);
Curl, does this dictate that SCILAB has ability to treat
symbolic calculation sine it converts from sequence form
to poly form before filtering? More specifically,
is the SCILAB based on symbolic mathematic engine,
like Mathematica and Maple?
In short, I asked the capability of symbolic calculation on
SCILAB and the system behind it.
--
Best regards,
James K. (txdiversity@hotmail.com)
- Private opinions: These are not the opinions from my affiliation.
|
|
0
|
|
|
|
Reply
|
James
|
9/10/2003 1:56:01 PM
|
|
"Jerry Avins" <jya@ieee.org> wrote in message
news:3F5B936D.AA4209B6@ieee.org...
> "Harmonic Software Inc." wrote:
> >
> > You might also look at O-Matrix, (http://www.omatrix.com). It's not
free,
> > but it's quite inexpensive and provides support and other commercial
> > benefits.
> >
> A quick look at the site didn't tell me if it's {zero}-Matrix or
> {oh}-Matrix. I hope for the former, and that it allows zero-based
> arrays.
Yet, we have another choice that is highly compatible with
matlab, CEMtool 5.0 (http://www.cemtool.co.kr).
In addition to the language compatibility (m-mode),
it provides a great useful and integrated GUI environment,
e.g. command-liner, editor, and Web navigator.
>
> Jerry
> --
> Engineering is the art of making what you want from things you can get.
> �����������������������������������������������������������������������
--
Best regards,
James K. (txdiversity@hotmail.com)
- Private opinions: These are not the opinions from my affiliation.
|
|
0
|
|
|
|
Reply
|
James
|
9/10/2003 2:49:43 PM
|
|
|
14 Replies
174 Views
(page loaded in 0.223 seconds)
Similiar Articles: Anyone with compiled pa_wavplay for 5.1.1 and winxp ? - comp.soft ...Hi, I'd kindly ask if anyone is willing to share compiled sound card extension for Scilab 5.1.1 called "pa_wavplay" for scilab. I don't have comp... 3 y axis plot graph - comp.soft-sys.matlabAnybody using Scilab? - comp.dsp Anybody using Scilab? - comp.dsp 3 y axis plot graph - comp.soft-sys.matlab Break y-axis - comp.soft-sys.matlab Does anyone know how to ... Public domain DSP libraries? - comp.dspFree DSP Library - comp.dsp Public domain DSP libraries? - comp.dsp Does anyone know about this? > > Rune Octave and Scilab are free ... Signal Processing Examples Using ... Is scilab 5.x a VIABLE alternative to scilab 4.x ??? - comp.soft ...how to plot that graph using scilab... - comp.soft-sys.math ... I am about to download and try SciLab - but don't know whether that offers ... Does anyone know whether I ... How to read a DMT graph - comp.dcom.xdslhow to plot that graph using scilab... - comp.soft-sys.math.scilab ... By using Scilab to ... Sprinkler or Irrigation System Flow Chart - comp.home.automation ... DOes anyone ... Spectrum analysis (FFT) of partial waves / scilab - comp.dsp ...Does anyone know whether I should be looking into alternatives ... are other settings - e.g. windowing parameters - I could use? I am about to download and try SciLab ... Excel time format conversion - comp.soft-sys.math.scilab ...I'm still quite a n00b to scilab, and am looking for a way to convert the "hh:mm:ss ... Is there a >command / does anybody know a trick? > >Thanks in advance! Converting .mat files into Scilab - comp.soft-sys.math.scilab ...Hi all, I'm working on a project and I need to convert .mat files into Scilab. I am using the matfile2sci function, but I have a lot of .mat files... plotting polynomials - comp.soft-sys.matlabUse MATLAB to plot the polynomials y=3x^4-6x^3+8x^2 ... hold off >> p.s. i assume y to be z2 can anyone ... how to plot that graph using scilab... - comp.soft-sys.math ... how to plot 2D graphs in multiple 3D levels - comp.soft-sys.matlab ...Hello, I have search the MATLAB Newsreader on the topic but found none. My problem is I have five scores plots of principal components analysis. I... Neural Networks and Microcontrollers - comp.ai.neural-nets ...DTMF signal decoder help - comp.soft-sys.math.scilab... telephone signal, corrupted ... to ... fuzzy neural application in matlab - comp.soft-sys.matlab ... Does anybody ... AucTeX math mode in Windows Emacs - comp.emacsI'm using a german keyboard layout and can't get the math mode to work with it. When i try to write greek letters, for example typing "`a" to get an "\alpha", i only ... how to make solid cylinder in openGL - comp.graphics.api.opengl ...Hi Everybody, can you please tell me how to make solid cylinder in openGl. If anybody know please tell me how it is possible. thank you. ... Quicksort code - comp.parallel.mpiHi all, Does anyone have a c++ MPI code for the parallel quicksort algorithm I could have a look at to help me implement a parallel sorting step in m... Frame decoration problems? - comp.lang.java.guiAnybody know how to get the decorated frame to act like an undecorated one? Thanks, import java.awt.*; import java.awt.event.*; import javax.swing.*; public class ... How to write scripts for SciLab ? - Forum for ElectronicsHi, Anybody have xp in SciLab which is free substitute for Matlab? I want to know how to write scripts for Scilab (Similar to .m files). Are the *.m Home - Scilab WebSiteWhile you are downloading Scilab, take the opportunity to explore services offered by Scilab Enterprises and online support options by Equalis 7/26/2012 2:05:10 PM
|