# # Exampel #1 Create a sine wave # # head 1 'Generation of a sine wave frequency $frekv Hz' # idebug= 0 tsim_param= e1 tstart=0. tstop=2.000 tout=0.010 tstep=0.010 # func const ampl= 1. # Set the amplitude to 1 [m] func const frekv= 2. # Set the frequency to 2 [Hz] # # Calculate sin_out in octave # --------------------------- func command sin_out= ./sin.octavef ampl frekv time s_var sngl sin_out # eof