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

Home » Public Forums » archive » Re: function in form of a matrix
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: function in form of a matrix [message #83149] Mon, 11 February 2013 06:30
fd_luni is currently offline  fd_luni
Messages: 66
Registered: January 2013
Member
yeah! thanks :)

M
Re: function in form of a matrix [message #83150 is a reply to message #83149] Mon, 11 February 2013 03:53 Go to previous message
Mats Löfdahl is currently offline  Mats Löfdahl
Messages: 263
Registered: January 2012
Senior Member
Den måndagen den 11:e februari 2013 kl. 12:39:01 UTC+1 skrev fd_...@mail.com:
> Does anyone know how to create a matrix with n elements of some function (1 column, n rows)? I mean if I have a function f(x) then the metrix include the f0,f1,f2,f3, and so on.

Does this do what you need?

x=findgen(1,N)
y=f(x)

/Mats
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: function in form of a matrix
Next Topic: Function compiles (maybe) but cannot be called

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

Current Time: Wed Oct 08 15:05:51 PDT 2025

Total time taken to generate the page: 0.00430 seconds