Re: [Scilab-users] Plotting properties of digital audio filters

2015-12-13 Thread Rafael Guerra
Hi,
 
Assuming sr=5e-5 s, Scilab 5.5.2 gave me the following phase plot:
 

 
Regards,
 
Rafael
 
-Original Message-
From: users [mailto:users-boun...@lists.scilab.org] On Behalf Of fred_audio_dsp
Sent: Sunday, December 13, 2015 6:22 PM
To: users@lists.scilab.org
Subject: Re: [Scilab-users] Plotting properties of digital audio filters
 
Hi,
 
By making the FFT size of the form 2*2^x, I managed to get more of an
expected result.
 
Still the phase response of the filters I analyze drops off to -180°
unexpectedly, as illustrated in the plot below (without frequency vector
applied because I'm just testing). This is a peak filter, -3dB@500Hz, Q=1.
Note that any kind of phase unwrapping did not produce any different result.
 
<  
http://mailinglists.scilab.org/file/n4033215/plot3.png> 
 
I have included a zip file of the captured impulse response.
response.zip <  
http://mailinglists.scilab.org/file/n4033215/response.zip>  
 
Regards,
 
Frederik
 
 
 
--
View this message in context:  

 
http://mailinglists.scilab.org/Plotting-properties-of-digital-audio-filters-tp4033198p4033215.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at 
Nabble.com.
___
users mailing list
  users@lists.scilab.org
  
http://lists.scilab.org/mailman/listinfo/users
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] Plotting properties of digital audio filters

2015-12-13 Thread fred_audio_dsp
Hi Rafael, 

Would you mind sharing the code that produced these plots, or hinting at the
method? 

Regards 



--
View this message in context: 
http://mailinglists.scilab.org/Plotting-properties-of-digital-audio-filters-tp4033198p4033217.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at 
Nabble.com.
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] Plotting properties of digital audio filters

2015-12-13 Thread fred_audio_dsp
Hi,

By making the FFT size of the form 2*2^x, I managed to get more of an
expected result.

Still the phase response of the filters I analyze drops off to -180°
unexpectedly, as illustrated in the plot below (without frequency vector
applied because I'm just testing). This is a peak filter, -3dB@500Hz, Q=1.
Note that any kind of phase unwrapping did not produce any different result.

 

I have included a zip file of the captured impulse response.
response.zip   

Regards,

Frederik



--
View this message in context: 
http://mailinglists.scilab.org/Plotting-properties-of-digital-audio-filters-tp4033198p4033215.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at 
Nabble.com.
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


[Scilab-users] How to use champ

2015-12-13 Thread shahriqeen
I am a new user to this scilab. How to plot the champ of this system

function f=System1(t, y);
 f = zeros (2,1);

 f(1) = A*y(1)-(B*y(1)*y(2));
 f(2) = (-C*y(2))+(D*y(1)*y(2))

endfunction

A=0.4; 
B=0.06; 
C=0.12; 
D=0.0006;
t0=0;  
y0=[140;6]; 
t=0:0.001:150;  
y=ode (y0,t0,t,System1);

plot2d(y(1,:),y(2,:),1);
xtitle ('System1');
xlabel('x');
ylabel ('y');  



--
View this message in context: 
http://mailinglists.scilab.org/How-to-use-champ-tp4033219.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at 
Nabble.com.
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users