This applet demonstrates an Input Waveform Generator, which could be used as an graphical input data generator or as an Analog to Digital Converter Emulator. The data can be a Function or a Draw. In mathematics, a function is a relation, such that each element of a set (the domain) is associated with a unique element of another (possibly the same) set (the codomain or image). For a Draw, one element domain can have one or more image point. This feature is only to easily the graphical input assign. When a domain point has more than one image point, only the highest value will taken into account during the scanning.
Use the popup-menu ('edit') on the waveform component to open the window with the graphical visualization. Set the Draw Area Scale. Type the Minimum X value X0, Maximum X Value X, Grid X Value GridX, Minimum Y value Y0, Maximum Y Value Y, Grid Y Value GridY, then press Set Scale. The input waveform generator supports four operation modes:Most mathematical functions are available: sin, cos, tan, asin, acos, atan, asinh, acosh, atanh, ln, log, abs, sqrt, sum, ^, +, -, *, /, %. Before you type the expression, select the 'best fit' X and Y range. For instance, let us consider the "2^x" function. This function grows up very fast. Select X ranges from 0 to 12, Y ranges from 0 to 3000, set GridX to 1 and GridY to 500. Then, press Set Scale and type the expression or just type enter in expression dialog box.