Tagged: disp

appdesigner

appdesigner opens the App Designer Start Page. From the Start Page you can create a new blank app, or a new 2-panel or 3-panel app with auto-reflow, or you can: View a list of your...

Matlab Live Editor

Programming and Scripts

Scripts To create a script, use the edit command, edit mysphere This command opens a blank file named mysphere.m. Enter some code that creates a unit sphere, doubles the radius, and plots the results: [x,y,z] = sphere;...

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

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

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

Working with Images in MATLAB Graphics

What Is Image Data? The basic MATLAB data structure is the array, an ordered set of real or complex elements. An array is naturally suited to the representation of images, real-valued, ordered sets of...