matlab introduction

27
MATLAB Introduction Trygve Eftestøl Karl Skretting

Upload: thu

Post on 10-Feb-2016

78 views

Category:

Documents


1 download

Tags:

DESCRIPTION

MATLAB Introduction. Trygve Eftestøl. Aim of the course. Get to know MATLAB What is MATLAB? Why use MATLAB? Basic training User interface Basic functions Visualisation Programming Analysis. Hva er MATLAB?. Why use MATLAB? Mathematcal computations Visualisation Analysis - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: MATLAB Introduction

MATLAB IntroductionTrygve EftestølKarl Skretting

Page 2: MATLAB Introduction

Aim of the course• Get to know MATLAB

– What is MATLAB?• Why use MATLAB?

– Basic training• User interface• Basic functions• Visualisation• Programming• Analysis

Page 3: MATLAB Introduction

Hva er MATLAB?• Why use MATLAB?

– Mathematcal computations

– Visualisation– Analysis– Used a lot for problem

solving • Cybernetics • Signal processing• Image processing• Pattern recognition• …

Page 4: MATLAB Introduction

Basic training• User interface• Basic functions• Visualisation• Programming• Analysis

Page 5: MATLAB Introduction

User interface• Command

window• Workspace• Editor• Help

Page 6: MATLAB Introduction

User interface• Command window

Page 7: MATLAB Introduction

User interface• Workspace

Page 8: MATLAB Introduction

User interface• Editor

Page 9: MATLAB Introduction

User interface• Help

– Contents– Index– Search– Demo

Page 10: MATLAB Introduction

Basic functions• Create matrices• Matrix operations• Matrix functions• Matrix indexing• Logical operations

Page 11: MATLAB Introduction

Basic functions• Create matrices

– Scalar– Vector– Matrix

Page 12: MATLAB Introduction

Basic functions• Matrix operators

Page 13: MATLAB Introduction

Basic functions• Matrix functions

Page 14: MATLAB Introduction

Basic functions• Matrix indexing

Page 15: MATLAB Introduction

Basic functions• Logical operators

Page 16: MATLAB Introduction

Visualisation•2D-plotting•3D-plotting

Page 17: MATLAB Introduction

Visualisation• 2D-plotting

Page 18: MATLAB Introduction

Visualisation• 3D-plotting

Page 19: MATLAB Introduction

Visualisation• 3D-plotting

Page 20: MATLAB Introduction

Programming• Function files• Control structures

– if– while– for

Page 21: MATLAB Introduction

Programming• Function files

Page 22: MATLAB Introduction

Programming• Condition control using if

Page 23: MATLAB Introduction

Programming• Iterations using while

Page 24: MATLAB Introduction

Programming• Iterations using for

Page 25: MATLAB Introduction

Analysis• Estimate pulse rate

– Reading from data file– Plotting of signal– Detection of peaks– Problem – false

detections• Spectral analysis• Filtering

Page 26: MATLAB Introduction

Analysis• Reading from data

file• Plotting of signal• Detection of peaks

Page 27: MATLAB Introduction

Analysis• Problem – false

detections– Spectral analysis– Filtering