## Working with MATLAB – M-Files

MATLAB is also a powerful programming language, as well as an interactive computational environment. If you use Matlab command prompt, MATLAB also allows you to write series of commands into…

## 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…

## Simulation of a Bouncing Ball

bouncing ball simulink example 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…

## The find Function

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…

## 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…