Tagged: max

Matlab Functions

Calling a Function in Matlab

MATLAB® provides a large number of functions that perform computational tasks. Functions are equivalent to subroutines or methods in other programming languages. To call a function, such as max, enclose its input arguments in parentheses: A = [1 3...

Working with 8-Bit and 16-Bit Images

8-Bit and 16-Bit Indexed Images Double-precision (64-bit) floating-point numbers are the default MATLAB representation for numeric data. However, to reduce memory requirements for working with images, you can store images as 8-bit or 16-bit...

Stream Line Plots of Vector Data

Wind Mapping Data The MATLAB vector data set called wind represents air currents over North America. This example uses a combination of techniques: Stream lines to trace the wind velocity Slice planes to show...

Matlab Using FFT

This demonstration uses the FFT function to analyze the variations in sunspot activity over the last 300 years. Sunspot activity is cyclical, reaching a maximum about every 11 years. Let’s confirm that. Here is...

Adding Text Annotations to Graphs

What Are Text Annotations? Text annotations are boxes containing text strings that you compose. The box can have a border and a background, or be invisible. The text can be in any installed text...

Managing Desktop Layouts

Overview of Desktop Layouts When you end a session, MATLAB saves the current desktop arrangement. The next time you start MATLAB, the desktop appears like the way you left it. However, tools such as...