From: sam guns on
I have a simple question but unfortunately have been unable to find the answer despite a lot of googling & help file searching.

If I have a function of one symbolic variable, how can I obtain a vector with function values for a specific domain and stepsize? For example all values of f = sin(t) for t ranging from 0 to pi in stepsizes of 0.01.

greets,
sam
From: Wayne King on
"sam guns" <sam.guns(a)hotmail.com> wrote in message <hra81o$i7n$1(a)fred.mathworks.com>...
> I have a simple question but unfortunately have been unable to find the answer despite a lot of googling & help file searching.
>
> If I have a function of one symbolic variable, how can I obtain a vector with function values for a specific domain and stepsize? For example all values of f = sin(t) for t ranging from 0 to pi in stepsizes of 0.01.
>
> greets,
> sam

Hi Sam, see the helps for subs()

>>doc subs

Wayne