Tagged: where

A GUI to Set Simulink Model Parameters

About the Simulink Model Parameters Example This example illustrates how to create a GUI that sets the parameters of a Simulink® model. In addition, the GUI can run the simulation and plot the results...

Simulation of a Bouncing Ball

  Figure 1: A ball is thrown up with a velocity of 15 m/s from a height of 10 m. A bouncing ball model is a classic example of a hybrid dynamic system. A...

Logical Subscripting

Matlab Logical Subscripting Tutorial The logical vectors created from logical and relational operations can be used to reference subarrays. Suppose X is an ordinary matrix and L is a matrix of the same size...

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...

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...

Matlab Annotation Objects and Example

Users typically create annotation objects from the Plot Edit toolbar or the Insert menu (select Plot Edit in the View menu to display the Plot Edit toolbar). However, you can also create annotation objects...

Matlab Core Graphics Objects

Core graphics objects include basic drawing primitives: Line, text, and polygon shells (patch objects) Specialized objects like surfaces, which are composed of a rectangular grid of vertices Images Light objects, which are not visible...