Traçando Gráficos no MATLAB

Os principais tipos de gráficos proporcionados são:

plot / plot3 : linear X-Y / linear X-Y-Z

loglog : log-log X-Y

semilogx / semilogy : semilog X-Y (eixo X logarítmico/eixo Y logarítmico, respectivamente)

polar : diagrama polar

mesh / surf : superfície malha tridimensional / superfície facetada tridimensional

stairs : próprio para sinais amostrados

hist, bar : histograma

Fonte e mais detalhes aqui

Anúncios

Matlab: Display Image: imshow

imshow(I) displays the image I in a Handle Graphics® figure, where I is a grayscale, RGB (truecolor), or binary image. For binary images, imshow displays pixels with the value 0 (zero) as black and 1 as white. imshow(I,RI) displays the image I with associated 2-D spatial referencing object RI.

Fonte e mais detalhes aqui

Computer Vision System Toolbox Examples

Object Detection and Recognition
Automatically Detect and Recognize Text in Natural Images Script
Detecting Cars Using Gaussian Mixture Models Script
Object Detection in a Cluttered Scene Using Point Feature Matching Script
Digit Classification Using HOG Features
Uses: Statistics and Machine Learning Toolbox Script
Image Category Classification Using Bag of Features
Uses: Statistics and Machine Learning Toolbox Script

Fonte e mais detalhes aqui

Matlab: Build a Motion Sensor Camera

This example shows you how to build a motion sensor camera using MATLAB® Support Package for Raspberry Pi® Hardware. In this example you combine a passive infrared (PIR) sensor with a Raspberry Pi Camera Board to build a motion sensor camera. A PIR sensor measures infrared light radiating from objects. The sensor detects the change in the infrared radiation and triggers an alarm if the gradient of the change is higher than a predefined value. You connect the PIR sensor to one of the digital input pins of the Raspberry Pi hardware and monitor the output of the PIR sensor. When PIR sensor detects motion it outputs a logic high value. When you detect a logic high value on the digital input pin, you take a picture and save it on the host computer.

Fonte e mais detalhes aqui

Matlab: Tracking a Green Ball

This example shows you how to use MATLAB to process images captured from a Raspberry Pi Camera Board module to track a green ball. The Raspberry Pi Camera Board is a custom designed add-on module for Raspberry Pi hardware. The MATLAB Support Package for Raspberry Pi Hardware allows you to capture images from the Raspberry Pi Camera Board and bring those right into MATLAB for processing. Using this capability we will develop an ball tracking algorithm.

Fonte e mais detalhes aqui

Matlab: Fuzzy Logic Image Processing

This example shows how to use Fuzzy Logic Toolbox software for image processing. Specifically, this example shows how to detect edges in an image.

An edge is a boundary between two uniform regions. You can detect an edge by comparing the intensity of neighboring pixels. However, because uniform regions are not crisply defined, small intensity differences between two neighboring pixels do not always represent an edge. Instead, the intensity difference might represent a shading effect.

The fuzzy logic approach for image processing allows you to use membership functions to define the degree to which a pixel belongs to an edge or a uniform region.

Fonte e mais detalhes aqui

Set up and Blink – MATLAB and Simulink with Raspberry Pi

You can use MATLAB to communicate with a Raspberry Pi board and its peripheral devices using MATLAB Support Package for Raspberry Pi. You can program Raspberry Pi boards to run your algorithms using Simulink Support Package for Raspberry Pi Hardware. The support package generates code from your Simulink model in a click of a button that then runs on the Raspberry Pi board.

Fonte e mais detalhes aqui

Matlab: Getting Started with Embedded Coder Support Package for BeagleBone Black Hardware

Embedded Coder Support Package for BeagleBone Black Hardware enables you to create and run Simulink models on BeagleBone Black hardware. The support package includes a library of Simulink blocks for configuring and accessing BeagleBone Black peripherals and communication interfaces.

In this example you will learn how to configure a simple Simulink model to generate code for BeagleBone Black hardware and run the generated code on the board to periodically turn and LED on and off.

Fonte e mais detalhes aqui

MATLAB Support Package for Raspberry Pi Hardware Examples

Getting Started with MATLAB Support Package for Raspberry Pi Hardware Script
Working with Raspberry Pi Hardware Script
Analog Input Using SPI Script
Controlling a 4-Digit 7-Segment Display Using I2C Script
Controlling a 4-Digit 7-Segment Display Using Serial Port Script
Working with Raspberry Pi Camera Board Script
Build a Digital Voltmeter Script
Tracking a Green Ball Script
Build a Motion Sensor Camera Script
Add Digital I/O Pins to Raspberry Pi Hardware Using MCP23017 Script

Fonte e mais detalhes aqui

Getting Started with MATLAB Support Package for Raspberry Pi Hardware

The MATLAB Support Package for Raspberry Pi Hardware enables you to communicate with Raspberry Pi hardware remotely from a computer running MATLAB. The support package includes a MATLAB command line interface for accessing Raspberry Pi hardware’s I/O peripherals and communication interfaces. Using this command line interface, you can collect data from sensors connected to Raspberry Pi hardware and actuate devices attached to Raspberry Pi hardware.

In this example you learn how to create a raspi object to connect to Raspberry Pi hardware from within MATLAB. You examine the properties and methods of this object to learn about the status of basic peripherals such as digital I/O pins (also known as GPIO), SPI, I2C, and Serial. Using this object, you execute shell commands on your Raspberry Pi hardware and manipulate files on the Raspberry Pi hardware.

Fonte e mais detalhes aqui