comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » plot dirac delta function?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: plot dirac delta function? [message #93922 is a reply to message #49366] Fri, 25 November 2016 02:13 Go to previous message
priorbee is currently offline  priorbee
Messages: 1
Registered: November 2016
Junior Member
;dirac delata function
x = fltarr(100) ; creating 1D array of 100 zeroes
x(50.0) = 1.0 ; setting one point from array to not equal zero

plot, x ; plotting function
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Funding the Global Minimum Using IDL
Next Topic: How to manipulate vectors by the index

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 11:48:51 PDT 2025

Total time taken to generate the page: 0.00458 seconds