User Manual LW120
would normally do in your notebook; You must use the * (multiply)
sign, otherwise you'll get a syntax error. Now we'll try to generate a
simple sine waveform. Try this:
Ampl(p)=sin(10)
Press [Preview] and… sorry, you still get nothing on the screen. The
Wave Composer did not make a mistake! The sine of 10 in radians is
exactly what it shows. You are unable to see the result because the
line on your screen running across the 0 vertical point.
REMEMBER
The equation must be a function of a single variable and
that variable must be directly related to the Horizontal axis
Scale setting.
Now try this:
Ampl(p)=sin(omg*p)
Still no good, but now press the [Adjust] button and here is your
sinewave. So what's wrong? Well, if you'll give it a little amplitude it
might help so, do it now exactly as follows:
ine along p points (“p” is the equation variable,
remember?). If you want to create 10 sine waveforms, you should
multiply p by 10. Try this:
Equation Samples
look like Figure 5-21.
Ampl(p)=6000*sin(omg*p)
There you go. You should now see a perfect sine waveform with a
period of 1000 points. This is because you have asked the Equation
Editor to compute .the s
Ampl(p)=6000*sin(omg*p*10)
So far, you have learned how to create two simple waveforms: straight
lines and trigonometric functions. Lets see if we can combine these
waveforms to something more interesting. Take the straight line
equation and add it to the sinewave equation:
Ampl(p)=6000*sin(omg*p*l0)-2*p+2000
Press [Preview]. Your screen should
ArbExplorer 5-46