[scilab-Users] Unit Sample or Delat Dirac Matrix Creation

CRETE Denis denis.crete at thalesgroup.com
Mon Jan 2 11:08:27 CET 2012


Hello,
N=10; // size of the sequence
j=7; // position of the impulse in the sequence
bool2s((1:N)==j)
HTH
Denis

-----Message d'origine-----
De : shadders [mailto:richard.shadbolt at btinternet.com] 
Envoyé : samedi 31 décembre 2011 17:39
À : users at lists.scilab.org
Objet : [scilab-Users] Unit Sample or Delat Dirac Matrix Creation

Hi,

I have scanned the Scilab help file, but i cannot locate an equivalent
command to the Matlab "impseq"

The "impseq" creates an array which are of specified length, all Zero's
except the single One at the specificied point. This may also be known as
unit sample, delta dirac etc., but in the discrete time domain. 

Is there a Scilab equivalent ?. Thanks. 

This question also applies to "stepseq" which is a unit step input. 

Else -will i have to use a two sequence command - create an matrix of
Zero's, and then set a specific element to a One ?. 

Thanks and regards,

Richard.

--
View this message in context: http://mailinglists.scilab.org/Unit-Sample-or-Delat-Dirac-Matrix-Creation-tp3623475p3623475.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.

--
To unsubscribe from this mailing-list, please send an empty mail to
users-unsubscribe at lists.scilab.org
To check the archives of this mailing list, see
http://mailinglists.scilab.org/




More information about the users mailing list