![Page 1: MATLAB Basics - Computer Communications and Networks Groupmarco.uminho.pt/disciplinas/ST/matlab-1.ppt · PPT file · Web view2004-09-26 · Introdução ao MatLab Aula 1 Sistemas](https://reader030.vdocuments.site/reader030/viewer/2022021809/5c651bbd09d3f2916e8c45b3/html5/thumbnails/1.jpg)
Introdução ao MatLabAula 1
Sistemas Telemáticos5ºAno LESI/MCC
Universidade do Minho
![Page 2: MATLAB Basics - Computer Communications and Networks Groupmarco.uminho.pt/disciplinas/ST/matlab-1.ppt · PPT file · Web view2004-09-26 · Introdução ao MatLab Aula 1 Sistemas](https://reader030.vdocuments.site/reader030/viewer/2022021809/5c651bbd09d3f2916e8c45b3/html5/thumbnails/2.jpg)
Introdução ao MATLAB
O MATLAB é uma linguagem de programação e um ambiente de desenvolvimento para o seu uso efectivo
O MATLAB é orientado à matriz pelo que o que faz normalmente com várias instruções C ou Fortran pode ser conseguido com poucas linhas usando as operações sobre matrizes e vectores embebidas no MATLAB.
![Page 3: MATLAB Basics - Computer Communications and Networks Groupmarco.uminho.pt/disciplinas/ST/matlab-1.ppt · PPT file · Web view2004-09-26 · Introdução ao MatLab Aula 1 Sistemas](https://reader030.vdocuments.site/reader030/viewer/2022021809/5c651bbd09d3f2916e8c45b3/html5/thumbnails/3.jpg)
Introdução ao MATLAB
FORTRAN:FORTRAN: real*8 A(10,10), B(10,10), C(10,10) real*8 A(10,10), B(10,10), C(10,10) do i=1,10 do i=1,10 do j=1,10 do j=1,10 C(i,j) = A(i,j) + B(i,j) C(i,j) = A(i,j) + B(i,j) 10 continue 10 continue 20 continue 20 continue
MATLAB:MATLAB: C = A + BC = A + B
![Page 4: MATLAB Basics - Computer Communications and Networks Groupmarco.uminho.pt/disciplinas/ST/matlab-1.ppt · PPT file · Web view2004-09-26 · Introdução ao MatLab Aula 1 Sistemas](https://reader030.vdocuments.site/reader030/viewer/2022021809/5c651bbd09d3f2916e8c45b3/html5/thumbnails/4.jpg)
Introdução ao MATLAB
O MATLAB está disponível para Windows, MacIntosh, Unix e outros sistemas operativos
![Page 5: MATLAB Basics - Computer Communications and Networks Groupmarco.uminho.pt/disciplinas/ST/matlab-1.ppt · PPT file · Web view2004-09-26 · Introdução ao MatLab Aula 1 Sistemas](https://reader030.vdocuments.site/reader030/viewer/2022021809/5c651bbd09d3f2916e8c45b3/html5/thumbnails/5.jpg)
Introdução ao MATLAB
MATLAB, que é o acrónimo de MATrix LABoratory, é um sistema ou ambiente potente para fazer cálculos matemáticos, científicos e de engenharia.
![Page 6: MATLAB Basics - Computer Communications and Networks Groupmarco.uminho.pt/disciplinas/ST/matlab-1.ppt · PPT file · Web view2004-09-26 · Introdução ao MatLab Aula 1 Sistemas](https://reader030.vdocuments.site/reader030/viewer/2022021809/5c651bbd09d3f2916e8c45b3/html5/thumbnails/6.jpg)
Introdução ao MATLAB
• O MATLAB é um pacote de alto desempenho para computação numérica e visualização
• O MATLAB é um sistema interactivo cujo dado básico, a matriz, não precisa de dimensionamento
![Page 7: MATLAB Basics - Computer Communications and Networks Groupmarco.uminho.pt/disciplinas/ST/matlab-1.ppt · PPT file · Web view2004-09-26 · Introdução ao MatLab Aula 1 Sistemas](https://reader030.vdocuments.site/reader030/viewer/2022021809/5c651bbd09d3f2916e8c45b3/html5/thumbnails/7.jpg)
Introdução ao MATLABO MATLAB suporta vários tipos de gráficos e superfícies : • linha(x vs. y), • Barras, • Diagrama de sectores(pie), • Paramétricos, • Polar, • Curvas de nível, • Densidade, • Eixos logaritmicos, • Superfície, • Paramétricos a 3D e esféricos• Etc...
![Page 8: MATLAB Basics - Computer Communications and Networks Groupmarco.uminho.pt/disciplinas/ST/matlab-1.ppt · PPT file · Web view2004-09-26 · Introdução ao MatLab Aula 1 Sistemas](https://reader030.vdocuments.site/reader030/viewer/2022021809/5c651bbd09d3f2916e8c45b3/html5/thumbnails/8.jpg)
Introdução ao MATLAB• MATLAB tem um grande número de módulos de
software adicionáveis, chamados toolbox , que realizam computações mais especializadas
Signal & Image Processing Signal Processing- Image Processing Communications
- System Identification - Wavelet Filter Design Control Design Control System - Fuzzy Logic - Robust Control - µ-
Analysis and Synthesis - LMI Control - Model Predictive Control Model-Based Calibration
Mais de 60 ToolBoxes!
![Page 9: MATLAB Basics - Computer Communications and Networks Groupmarco.uminho.pt/disciplinas/ST/matlab-1.ppt · PPT file · Web view2004-09-26 · Introdução ao MatLab Aula 1 Sistemas](https://reader030.vdocuments.site/reader030/viewer/2022021809/5c651bbd09d3f2916e8c45b3/html5/thumbnails/9.jpg)
Introdução ao MATLAB
• No Windows o MatLab é iniciado clicando 2 vezes no ícon apropriado
![Page 10: MATLAB Basics - Computer Communications and Networks Groupmarco.uminho.pt/disciplinas/ST/matlab-1.ppt · PPT file · Web view2004-09-26 · Introdução ao MatLab Aula 1 Sistemas](https://reader030.vdocuments.site/reader030/viewer/2022021809/5c651bbd09d3f2916e8c45b3/html5/thumbnails/10.jpg)
Introdução ao MatLab
Janela deJanela deComandosComandosMATLABMATLAB
![Page 11: MATLAB Basics - Computer Communications and Networks Groupmarco.uminho.pt/disciplinas/ST/matlab-1.ppt · PPT file · Web view2004-09-26 · Introdução ao MatLab Aula 1 Sistemas](https://reader030.vdocuments.site/reader030/viewer/2022021809/5c651bbd09d3f2916e8c45b3/html5/thumbnails/11.jpg)
FileFile
![Page 12: MATLAB Basics - Computer Communications and Networks Groupmarco.uminho.pt/disciplinas/ST/matlab-1.ppt · PPT file · Web view2004-09-26 · Introdução ao MatLab Aula 1 Sistemas](https://reader030.vdocuments.site/reader030/viewer/2022021809/5c651bbd09d3f2916e8c45b3/html5/thumbnails/12.jpg)
EditEdit
![Page 13: MATLAB Basics - Computer Communications and Networks Groupmarco.uminho.pt/disciplinas/ST/matlab-1.ppt · PPT file · Web view2004-09-26 · Introdução ao MatLab Aula 1 Sistemas](https://reader030.vdocuments.site/reader030/viewer/2022021809/5c651bbd09d3f2916e8c45b3/html5/thumbnails/13.jpg)
ViewView
![Page 14: MATLAB Basics - Computer Communications and Networks Groupmarco.uminho.pt/disciplinas/ST/matlab-1.ppt · PPT file · Web view2004-09-26 · Introdução ao MatLab Aula 1 Sistemas](https://reader030.vdocuments.site/reader030/viewer/2022021809/5c651bbd09d3f2916e8c45b3/html5/thumbnails/14.jpg)
ViewView
![Page 15: MATLAB Basics - Computer Communications and Networks Groupmarco.uminho.pt/disciplinas/ST/matlab-1.ppt · PPT file · Web view2004-09-26 · Introdução ao MatLab Aula 1 Sistemas](https://reader030.vdocuments.site/reader030/viewer/2022021809/5c651bbd09d3f2916e8c45b3/html5/thumbnails/15.jpg)
ViewView
![Page 16: MATLAB Basics - Computer Communications and Networks Groupmarco.uminho.pt/disciplinas/ST/matlab-1.ppt · PPT file · Web view2004-09-26 · Introdução ao MatLab Aula 1 Sistemas](https://reader030.vdocuments.site/reader030/viewer/2022021809/5c651bbd09d3f2916e8c45b3/html5/thumbnails/16.jpg)
WebWeb
![Page 17: MATLAB Basics - Computer Communications and Networks Groupmarco.uminho.pt/disciplinas/ST/matlab-1.ppt · PPT file · Web view2004-09-26 · Introdução ao MatLab Aula 1 Sistemas](https://reader030.vdocuments.site/reader030/viewer/2022021809/5c651bbd09d3f2916e8c45b3/html5/thumbnails/17.jpg)
HelpHelp
![Page 18: MATLAB Basics - Computer Communications and Networks Groupmarco.uminho.pt/disciplinas/ST/matlab-1.ppt · PPT file · Web view2004-09-26 · Introdução ao MatLab Aula 1 Sistemas](https://reader030.vdocuments.site/reader030/viewer/2022021809/5c651bbd09d3f2916e8c45b3/html5/thumbnails/18.jpg)
![Page 19: MATLAB Basics - Computer Communications and Networks Groupmarco.uminho.pt/disciplinas/ST/matlab-1.ppt · PPT file · Web view2004-09-26 · Introdução ao MatLab Aula 1 Sistemas](https://reader030.vdocuments.site/reader030/viewer/2022021809/5c651bbd09d3f2916e8c45b3/html5/thumbnails/19.jpg)
MATLAB IntroductionMATLAB Introduction
MATLAB includes hundreds of functions for:
• Data analysis and visualization, • Numeric and symbolic computation, • Engineering and Scientific graphics, • Modeling, simulation, and prototyping, • Eigenvalue, singular value
![Page 20: MATLAB Basics - Computer Communications and Networks Groupmarco.uminho.pt/disciplinas/ST/matlab-1.ppt · PPT file · Web view2004-09-26 · Introdução ao MatLab Aula 1 Sistemas](https://reader030.vdocuments.site/reader030/viewer/2022021809/5c651bbd09d3f2916e8c45b3/html5/thumbnails/20.jpg)
Demonstrações MatLab
São inexcedíveis uma vez que dão uma ideia das capacidades do MatLab.Um conjunto definido em compreensão está disponível teclando o comando >>demo na linha de comandos MatLab
![Page 21: MATLAB Basics - Computer Communications and Networks Groupmarco.uminho.pt/disciplinas/ST/matlab-1.ppt · PPT file · Web view2004-09-26 · Introdução ao MatLab Aula 1 Sistemas](https://reader030.vdocuments.site/reader030/viewer/2022021809/5c651bbd09d3f2916e8c45b3/html5/thumbnails/21.jpg)
![Page 22: MATLAB Basics - Computer Communications and Networks Groupmarco.uminho.pt/disciplinas/ST/matlab-1.ppt · PPT file · Web view2004-09-26 · Introdução ao MatLab Aula 1 Sistemas](https://reader030.vdocuments.site/reader030/viewer/2022021809/5c651bbd09d3f2916e8c45b3/html5/thumbnails/22.jpg)
MATLAB manipula escalares, vectores and matrizes:
• Operações básicas com matrizes, • Inversas of matrizes, • Grafos de matrizes, • Manipulação de matrizes, • Programação, desenvolvimento de
aplicações, concepção de Interfaces Gráficas para o Utilizador (GUI)
Demos MatLab
![Page 23: MATLAB Basics - Computer Communications and Networks Groupmarco.uminho.pt/disciplinas/ST/matlab-1.ppt · PPT file · Web view2004-09-26 · Introdução ao MatLab Aula 1 Sistemas](https://reader030.vdocuments.site/reader030/viewer/2022021809/5c651bbd09d3f2916e8c45b3/html5/thumbnails/23.jpg)
![Page 24: MATLAB Basics - Computer Communications and Networks Groupmarco.uminho.pt/disciplinas/ST/matlab-1.ppt · PPT file · Web view2004-09-26 · Introdução ao MatLab Aula 1 Sistemas](https://reader030.vdocuments.site/reader030/viewer/2022021809/5c651bbd09d3f2916e8c45b3/html5/thumbnails/24.jpg)
Demos MatLab
O MATLAB tem capacidades gráficas notáveis:
• 2-D e 3-D, • Superfícies 3-D, • Funções complexas• ...
![Page 25: MATLAB Basics - Computer Communications and Networks Groupmarco.uminho.pt/disciplinas/ST/matlab-1.ppt · PPT file · Web view2004-09-26 · Introdução ao MatLab Aula 1 Sistemas](https://reader030.vdocuments.site/reader030/viewer/2022021809/5c651bbd09d3f2916e8c45b3/html5/thumbnails/25.jpg)
![Page 26: MATLAB Basics - Computer Communications and Networks Groupmarco.uminho.pt/disciplinas/ST/matlab-1.ppt · PPT file · Web view2004-09-26 · Introdução ao MatLab Aula 1 Sistemas](https://reader030.vdocuments.site/reader030/viewer/2022021809/5c651bbd09d3f2916e8c45b3/html5/thumbnails/26.jpg)
![Page 27: MATLAB Basics - Computer Communications and Networks Groupmarco.uminho.pt/disciplinas/ST/matlab-1.ppt · PPT file · Web view2004-09-26 · Introdução ao MatLab Aula 1 Sistemas](https://reader030.vdocuments.site/reader030/viewer/2022021809/5c651bbd09d3f2916e8c45b3/html5/thumbnails/27.jpg)
![Page 28: MATLAB Basics - Computer Communications and Networks Groupmarco.uminho.pt/disciplinas/ST/matlab-1.ppt · PPT file · Web view2004-09-26 · Introdução ao MatLab Aula 1 Sistemas](https://reader030.vdocuments.site/reader030/viewer/2022021809/5c651bbd09d3f2916e8c45b3/html5/thumbnails/28.jpg)
DEMOS MatLab
Muitas toolboxes: • A de Controlo é uma das
mais importantes. • Resposta de Circuitos RLC, • Margens de ganho e fase, • ....
![Page 29: MATLAB Basics - Computer Communications and Networks Groupmarco.uminho.pt/disciplinas/ST/matlab-1.ppt · PPT file · Web view2004-09-26 · Introdução ao MatLab Aula 1 Sistemas](https://reader030.vdocuments.site/reader030/viewer/2022021809/5c651bbd09d3f2916e8c45b3/html5/thumbnails/29.jpg)
![Page 30: MATLAB Basics - Computer Communications and Networks Groupmarco.uminho.pt/disciplinas/ST/matlab-1.ppt · PPT file · Web view2004-09-26 · Introdução ao MatLab Aula 1 Sistemas](https://reader030.vdocuments.site/reader030/viewer/2022021809/5c651bbd09d3f2916e8c45b3/html5/thumbnails/30.jpg)
Demos MatLab
MATLAB tem muitas toolboxes: • Toolbox de Processamento de Sinal
– Concepção de Filtros– Filtragem de sinais– Análise Espectal– Transformadas de Fourier Discreta e
Contínua– …
![Page 31: MATLAB Basics - Computer Communications and Networks Groupmarco.uminho.pt/disciplinas/ST/matlab-1.ppt · PPT file · Web view2004-09-26 · Introdução ao MatLab Aula 1 Sistemas](https://reader030.vdocuments.site/reader030/viewer/2022021809/5c651bbd09d3f2916e8c45b3/html5/thumbnails/31.jpg)
![Page 32: MATLAB Basics - Computer Communications and Networks Groupmarco.uminho.pt/disciplinas/ST/matlab-1.ppt · PPT file · Web view2004-09-26 · Introdução ao MatLab Aula 1 Sistemas](https://reader030.vdocuments.site/reader030/viewer/2022021809/5c651bbd09d3f2916e8c45b3/html5/thumbnails/32.jpg)
Demos MatLab
• O Simulink dá a possibilidade de simular um grande número de sistemas dos mais simples aos complexos.
![Page 33: MATLAB Basics - Computer Communications and Networks Groupmarco.uminho.pt/disciplinas/ST/matlab-1.ppt · PPT file · Web view2004-09-26 · Introdução ao MatLab Aula 1 Sistemas](https://reader030.vdocuments.site/reader030/viewer/2022021809/5c651bbd09d3f2916e8c45b3/html5/thumbnails/33.jpg)
![Page 34: MATLAB Basics - Computer Communications and Networks Groupmarco.uminho.pt/disciplinas/ST/matlab-1.ppt · PPT file · Web view2004-09-26 · Introdução ao MatLab Aula 1 Sistemas](https://reader030.vdocuments.site/reader030/viewer/2022021809/5c651bbd09d3f2916e8c45b3/html5/thumbnails/34.jpg)