Posts Tagged ‘find’
The find Function
The find function determines the indices of array elements that meet a given logical
condition. In its simplest form, find returns a column vector of indices. Transpose that
vector to obtain a row vector of indices. For example, Read More
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 unsigned integers using the numeric classes uint8 or uint16, respectively. An image whose data matrix has class uint8 is called an 8-bit image; an image whose data matrix has class uint16 is called a 16-bit image. Read More
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 font, and can include TeX or LaTeX markup. You can add free-form text annotations anywhere in a MATLAB figure to help explain your data or bring attention to specific points in your data sets. Read More
Tags: and TEX Characters, BackgroundColor, EdgeColor, Examples, Expression, Extent, find, get, graph, Greek Letters, gtext, HorizontalAlignment, Interpreter, Latex, LineStyle, LineWidth, Margin, Mathematical, Mathematical Expression, Mathematical Symbols, matlab, num2str, plotedit, Position, Positioning Annotations in Data Space, string, Support, Symbols, table of available TEX, text, Text Alignment, Text in Cell Arrays, title, uicontrol, VerticalAlignment, xlabel, ylabel, zlabel