Re: sine wave generation



roberson@xxxxxxxxxxxxxxxxxx (Walter Roberson) wrote in
message <g1qdi7$ctu$1@xxxxxxxxxxxxxxxxxxxxxxx>...
In article <g1q50s$oee$1@xxxxxxxxxxxxxxxxxx>,
nakshatra <nakshatra_v@xxxxxxxxx> wrote:
how to plot sine wave for a range of values like
0,707,1000,707,0,-707,-1000,-707

plot(sin([0,707,1000,707,0,-707,-1000,-707]));

Myself, I have seldom found a use for taking the sine of
1000 radians, but I suppose it happens.
--
"They called it golf because all the other four letter
words
were taken." --
Walter Hagen

I guess I took him to mean that he wanted to have the
result pass through those values. They look like a unit
sine wave with a scalar offset. <shrug>

Scott

.



Relevant Pages

  • Re: sine wave generation
    ... I have seldom found a use for taking the sine of ... 1000 radians, ... "They called it golf because all the other four letter words ...
    (comp.soft-sys.matlab)
  • Re: Sine code for ANSI C
    ... >> compute the sine of small arguments quickly, but if it has to take ... > angle is greater than pi. ... All the library writer knows is that there's little *precision* ... small arguments it radians are easy to compute. ...
    (comp.lang.c)
  • Re: A tough question about elementary mathematics
    ... In truth, we don't even need "radians" for this, and I would argue (as ... number is 0 then the sine is 0 if the real number is equal to pi/2 the ... anything measured in radians is dimensionless. ... I know that radians are used in calculus ...
    (sci.math)
  • Re: Binary degrees?
    ... No. Radians are the natural units for trig functions. ... The Taylor expressions for sine and cosine are in terms of angles expressed ...
    (sci.math)
  • Re: A tough question about elementary mathematics
    ... In truth, we don't even need "radians" for this, and I would argue (as ... unit circle in the appropriate direction, arrives at a point on ... point that I was unable to articulate, that a real number goes into the sine ... Angles measured in radians ...
    (sci.math)