Post Reply 
Apply a function to a vector
02-22-2016, 11:28 AM (This post was last modified: 02-22-2016 12:07 PM by DrD.)
Post: #2
RE: Apply a function to a vector
Perhaps, something like this?

t:=MAKELIST(X,X,0,1,0.001);
y:=SIN(t);

-or-

y:=SIN(MAKELIST(X,X,0,1,0.001)); // y:=sin(X)

-or-

M1:=SIN(t); // Uses reserved variable M1 to save in matrix (vector) form.

-Dale-
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Apply a function to a vector - Maro - 02-22-2016, 11:10 AM
RE: Apply a function to a vector - DrD - 02-22-2016 11:28 AM
RE: Apply a function to a vector - Maro - 02-22-2016, 12:31 PM



User(s) browsing this thread: 1 Guest(s)