Tagged: find

Plotting Tools — Interactive Plotting

What Are Plotting Tools? The modular, interactive plotting environment called plotting tools enables you to Create various type of graphs Select variables to plot directly from a workspace browser Easily create and manipulate subplots...

Finding maximum and minimum values in arrays

Let’s write a function file range.m that calculates the difference between the maximum and minimum value in a vector. The file should return a reply. Open an edit window. Create a function file like...

Saving your Matlab sessions

Often one wants to save the data or variables to another occasion. Maybe one wants to save the whole Matlab session. This can be done. Commands are put in a m-file but data or...

Controlling Command Window Input and Output

The format Function The format function controls the numeric format of the values displayed. The function affects only how numbers are displayed, not how MATLAB software computes or saves them. Here are the different...

arrayfun

arrayfun – Apply function to each element of array Syntax A = arrayfun(fun, S) A = arrayfun(fun, S, T, …) [A, B, …] = arrayfun(fun, S, …) [A, …] = arrayfun(fun, S, …, ‘param1’,...