Data Analysis: Maxval As The Max Value For The Wave'S Amplitude and Theta For The Wave'S
Data Analysis: Maxval As The Max Value For The Wave'S Amplitude and Theta For The Wave'S
CONCLUSION
From the activity Custom Functions and Scripts, it can be concluded
that there is a difference within scripts and functions. Functions have its
independent and independent variables within its creation, where within its
process commands which are used on Matlab can be applied, while script is
also an M-File, but it can be created with random instructions as Matlab
commands are used.
For the function creation and implementation, the input arguments
must agree with the independent variables declared on the function
declaration. Also, when calling the said function on the command window,
the name of the function must be the same with the M-File of it saved.
It can be concluded that, script programming is the use of codes, or
commands stored within the software as executing a certain algorithm. As an
application, function creation is done with a systematic processing of the
variables declared on the function declarations.