Question: easy way to do it?

Hey

I was discusing Maple and Matlab with one of my friend.

He said that in Matlab he can do

a:=1:12

b:=sin(a)

plot(a,b)

that's easy in matlab to do so

i use

> ptlist:=NULL:
> for n to 12 do
> ptlist:=ptlist,[n,sin(n)]:
> od:
> plot([ptlist]);

do to so

 

is there any easy way to do that in maple?

like creat a sequence from 1 to 12? ( besides seq(n,n=1..12))

 

thanks

 

 

Please Wait...