0
Alternate instruction in scilab for filtic in matlab

Regarding use of filter instruction we have problem . The program runs well if there are no initial conditions. But we are not finding an alternative for instruction filtic ( matlab ) in scilab . Can you please help us. I have attached the codes
clc;
clear;
// Difference equation is y[n]+3y[n-1]=x[n]+x[n-1]; x[n]=(1/2)^n u[n];y(-1)=2
n = 0:3;
a =[1 3]; //left hand side of difference equation
b =[1 1]; //right hand side of difference equation
yi=[2];
xi=0;
x=(1/2).^n;
y=filter(b,a,x,yi)
plot2d3(n,y,1)
plot(n,y,'r.')


Scilab 23-02-18, 2:17 p.m. Raji
0
Please install the FOSSEE Signal Processing Toolbox- https://scilab.in/fossee-scilab-toolbox/signal-processing-toolbox. The installation instructions are given. filtic function is available in the toolbox. Please post any bugs or error that you may encounter.
23-02-18, 2:45 p.m. shamika
The link which is given by you is not working


23-02-18, 3:40 p.m. Raji
Please be more specific. Does the page not load? Are you not able to download the code? Does the toolbox not install?

23-02-18, 3:45 p.m. shamika
when i try to open the link, it saya page not found

23-02-18, 3:58 p.m. Raji
Please check again. It seems to be working at our end.

23-02-18, 7:34 p.m. shamika
Hello Raji,
Here is a click-able link just in case you are making a mistake in copying the link.
https://scilab.in/fossee-scilab-toolbox/signal-processing-toolbox

23-02-18, 8:17 p.m. rupakrokade
Thank you Shamika, I used the function filtic provided in signal processing tool box as shown below, but i am getting error

clc
; // Difference equation is y[n]+3y[n-1]=x[n]+x[n-1]; x[n]=(1/2)^n u[n];y(-1)=2 n = 0:3; a =[1 3]; //left hand side of difference equation b =[1 1]; //right hand side of difference equation y=[2]; x=0; x=(1/2).^n; zi=filtic(b,a,y,x); y1=filter(b,a,x,[zi]) plot2d3(n,y1,1) plot(n,y1,'r.')

Error
!--error 4
Undefined variable: calloctave
at line 34 of function filtic called by :
zi=filtic(b,a,y,x);
at line 10 of exec file called by :
exec('C:\Users\admin\Documents\DSP\test2.sce', -1)


24-02-18, 11:27 a.m. Raji
Please follow the instructions given here- https://scilab.in/fossee-scilab-toolbox/signal-processing-toolbox . We can only support Ubuntu 14.04 installation for now.

24-02-18, 10:30 p.m. shamika
working on windows any other solution


26-02-18, 10:23 a.m. Raji
Sorry not at the moment. We will let you know one we've released the Windows version.

26-02-18, 11:57 a.m. shamika

Login to add comment


0
Good to have the answer here! cookie clicker
10-12-21, 1:52 p.m. aricjoshua


0
A lot of institutions, including government offices, non-profits, catholic churches that help with motel vouchers to assist the homeless population who has recently been exiled or had to leave their home for safety reasons, such as family violence or personal emergency situations that require temporary housing.
23-03-22, 8:59 p.m. BrianMcCoy


0
Thank you for this, alternative instructions are always good. In any case, I like having an alternoute route. That's one thing I learned being in the towing service industry. Can;t always do thigns the same way every time.
12-10-22, 10:27 p.m. DannyDee


0
Guys just sharing, I've found this interesting! Check it out!
07-02-23, 10:18 a.m. otis123


Log-in to answer to this question.