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 
Return to the default flat view Create a new topic Submit Reply
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
[Message index]
 
Read Message
Read Message
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: Fri Oct 10 10:49:19 PDT 2025

Total time taken to generate the page: 0.32148 seconds