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

Serge Steer serge.steer at inria.fr
Mon Jan 2 11:01:37 CET 2012


Please find attached two Scilab functions which are translation of the Matlab impseq and stepseq functons.

----- Mail original -----
> De: "shadders" <richard.shadbolt at btinternet.com>
> À: users at lists.scilab.org
> Envoyé: Samedi 31 Décembre 2011 17:38:49
> 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/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stepseq.sci
Type: text/x-matlab
Size: 455 bytes
Desc: not available
URL: <https://lists.scilab.org/pipermail/users/attachments/20120102/3e00d323/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: impseq.sci
Type: text/x-matlab
Size: 468 bytes
Desc: not available
URL: <https://lists.scilab.org/pipermail/users/attachments/20120102/3e00d323/attachment-0001.bin>


More information about the users mailing list