Re: [Scilab-users] Bode of discret time transfer function.

2017-03-01 Thread Pablo Fonovich
I was implementing a digital reverberation for a class, and i wanted to show 
that it was indeed a comb filter.. Thanks all of you! you helped me a lot.



De: users  en nombre de Tim Wescott 

Enviado: sábado, 25 de febrero de 2017 06:57 p.m.
Para: Users mailing list for Scilab
Asunto: Re: [Scilab-users] Bode of discret time transfer function.

Not sure what you're trying to achieve, but if you want a plot of the
linear amplitude response on a linear frequency line, use Horner:

H = syslin('d', (%z - 0.9) / (%z - 99));
th = %pi * (-1:0.01:1)';
clf; plot2d(th, abs(horner(H, exp(%i * th; xgrid(2)

On Sat, 2017-02-25 at 18:17 +, Pablo Fonovich wrote:
> Hi:
> This is the first time i work with discrete time transfers functions
> and Scilab.
> I want to use bode() for plotting the magnitud and phase response of
> the system, however, i don't understand how to set the frequencies to
> normalized values (-pi, pi).
> This is what i'm doing:
>
> s=poly(0,'s')
> H=(s^(-2400))/(1-0.5*s^(-2400))
> S=syslin('d',H)
> bode(S)
>
> i get a warning that frequencies beyond nyquist rate are ignored and
> the resulting plot is attached.
>
> In the help, it says that bode parameter could include fmin and fmax
> in herz, but isn't a discrete system response limited to normalized
> frequencies? And to transform the normalized frecuency to herz the
> sample rate must be used, but i don't know how to pass it to the
> system or something.
>
> Any hints would be appreciated.
> Thanks
> ___
> users mailing list
> users@lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
users Info Page - Scilab
lists.scilab.org
The place to ask (and answer) questions on using Scilab. To see the collection 
of prior postings to the list, visit the users archives.


--

Tim Wescott
www.wescottdesign.com
Wescott Design Services
www.wescottdesign.com
Wescott Design Services Located in the foothills of the northern Oregon 
Cascades, Wescott Design Services is ready to use its proven expertise in 
systems design ...


Control & Communications systems, circuit & software design.
Phone: 503.631.7815
Cell:  503.349.8432



___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users
users Info Page - Scilab
lists.scilab.org
The place to ask (and answer) questions on using Scilab. To see the collection 
of prior postings to the list, visit the users archives.


___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] distinguish between rows and columns

2017-03-01 Thread Clément David
Hello,

Yes exactly Pierre, 'r' means rows and 'c' means columns :) .

--
Clément

Le mercredi 01 mars 2017 à 01:02 -0700, PirPyn a écrit :
> I did not understant well your question. But from the size() help : 
> 
> Scilab wrote
> > The syntax n = size(x, sel) may be used to specify what dimension to get:
> > 
> > Set sel to 1 or
> 
> *
> >  'r' to get the number of rows.
> 
> *
> > Set sel to 2 or 
> 
> *
> > 'c' to get the number of columns.
> 
> *
> > Set sel to m, where m is a positive integer to get the mth dimension.
> > If m is greater than ndims(x), then size(x,m) returns 1.
> > Set sel to '*' to get the product of the dimensions.
> 
> 
> 
> 
> 
> --
> View this message in context: 
> http://mailinglists.scilab.org/distinguish-between-rows-and-columns-
> tp4035640p4035643.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] Bug with file exchange ?

2017-03-01 Thread Samuel Gougeon

Le 01/03/2017 à 08:58, Pierre Payen a écrit :

Hi everyone,
How can we post on file exchange ? When i try to add something i get 
this error :


Could not create the file set. Please correct the errors below and try 
again.


Although there aren't any errors (see screen-shot in attachment).


The manual versionning is the last feature very recently added to FE.
One-2 months ago, it was only automatic, with a 1 increment (1.0, 2.0, 
3.0 etc).

May be trying with an integer version ?

___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] distinguish between rows and columns

2017-03-01 Thread PirPyn
I did not understant well your question. But from the size() help : 

Scilab wrote
> The syntax n = size(x, sel) may be used to specify what dimension to get:
> 
> Set sel to 1 or
*
>  'r' to get the number of rows.
*
> Set sel to 2 or 
*
> 'c' to get the number of columns.
*
> Set sel to m, where m is a positive integer to get the mth dimension.
> If m is greater than ndims(x), then size(x,m) returns 1.
> Set sel to '*' to get the product of the dimensions.





--
View this message in context: 
http://mailinglists.scilab.org/distinguish-between-rows-and-columns-tp4035640p4035643.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