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

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, 3:40 p.m.Raji23-02-18, 3:45 p.m.shamika23-02-18, 3:58 p.m.Raji23-02-18, 7:34 p.m.shamikaHere 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.rupakrokade24-02-18, 11:27 a.m.Raji24-02-18, 10:30 p.m.shamika26-02-18, 10:23 a.m.Raji26-02-18, 11:57 a.m.shamikaLogin to add comment