EasyManua.ls Logo

LeCroy SDA - Creating Your Own MATLAB Function

LeCroy SDA
397 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Creating Your Own MATLAB Function
The procedure is simple. Create a MATLAB function using any text editor, and save it as a
MATLAB m-file by giving it a name of the form Filename.m. Call the function using the MATLAB
math editor or the MATLAB parameter editor as appropriate. A simple example is shown below.
function out = negatewf(wf1)
% NEGATEWF changes the sign of all the data.
out = -wf1;
280 SDA-OM-E Rev H

Table of Contents