Matlab Workshop 1 - Import Data
20 pages
Français

Matlab Workshop 1 - Import Data

-

Le téléchargement nécessite un accès à la bibliothèque YouScribe
Tout savoir sur nos offres
20 pages
Français
Le téléchargement nécessite un accès à la bibliothèque YouScribe
Tout savoir sur nos offres

Description

  • cours magistral
1Atelier Matlab Neuro/Physio François Rivest Automne 2007, Université de Montréal
  • cvscomma-separated numbers
  • fichiers vidéos
  • environnement de matlab
  • matrices „
  • markup language cvsread
  • xmlxml-formatted textextended
  • magicien d'importation
  • introduction aux commandes matlab „
  • workspacematlab formatted
  • introduction

Sujets

Informations

Publié par
Nombre de lectures 73
Langue Français

Extrait

Atelier Matlab
Neuro/Physio
François Rivest
Fran
Automne 2007,
Université de Montréal
1„













Plan
Introduction et fonctionnement de l’atelier
Introduction à l’environnement de Matlab’Matlab
Le magicien d’importation (Wizard))
Introduction à Matlab (commandes et matrices)
Code d’importation 1
Code d’importation 2
Une premier graphique!
2„











Plan des 6 séances
25 septembre
Importation des données
2 octobre
Les Matrices
9 octobre
Graphiques
30 octobre
Programmation 101
13 novembre
Analyse de donnéeses
20 novembre
Bonus
3„













Fonctionnement de l’atelier
Début à 13hbut
Répondre aux questions individuelles (15 min)
Démonstration/cours magistral (30 min)
Temps personnel pour appliquer vos nouvelles
connaissances avec support (30 à 45 min)
Les éléments utiles à tous seront présentés en avant.
Démonstration/exercice guidé (15 min)é
Disponible pour de l’aide jusqu’à la fin (à 15h) 15h)
4„











Introduction à l’environnement de
Matlab et l’aide en ligne
Démo…mo
Comment fonctionne l’aide’
Les bons vieux manuels
Dont le Getting Started Started
L’aide par catégorie’
Et la commande help
5„













Le magicien d’importation (Wizard)
Le magicien supporte
Le copier-coller tabulaire (clipboard)
Le fichier textes et tabulaires (.txt, .cvs, .xls)txt, .
Les images (.gif, .tif, .bmp, .jpg, …), .tif, .,
Les fichiers audios (.au, .snd, .wav)wav
Les fichiers vidéos (.avi, avec codec)éos (.
Formats scientifiques (CDF, FITS, HDF4, HDF5)
6„









Æ







Æ





Introduction aux commandes Matlab
Vecteurs
x = [1 2 3]
y = [7 -2 +5] ou [7,-2,+5]
Attention: [7 - 2 + 5] 10
Addition par élément: x+y
Attention, multiplication par élément: x.*y
Matrices
z = [1 2 3; 4 5 6; 7 8 9];
Multiplication: z*x
Fonctions
[a b c] = mafonction(x,y,z)mafonction)
7Code d’importation
Livre: Programming
Chapitre: Data Import and Export
8File Format File Content Extension Function
.mat load, save
MATLAB formatted Saved MATLAB workspace
any textscan
Text Text
any textread
Text
any dlmread
Delimited text
.cvs cvsread
Comma-separated numbers
.xml xmlread
Extended Markup XML-formatted text
Language
.au aufinfo, auread,
Audio NeXT/SUN sound
.wav wavfinfo, wavread,
Microsoft WAVE sound
.avi aviinfo, aviread
Movie Audio/Video
.cdf cdfinfo, cdfread,
Scientific data Data in Common Data Format
.fits fitsinfo,fitsread
Flexible Image Transport System
data
.hdf hdfinfo, hdfread
Data in Hierarchical Data Format
.xls xlsfinfo, xlsread,
Spreadsheet Excel worksheet
.wk1 wk1finfo, wk1read,
Lotus 123 worksheet
.tiff, .png, imfinfo, imread,
Graphics Images
.hdf, .bmp,
.jpeg, .gif,
.pcx, .xwd,
.cur, .ico
9Code d’importation (images)
image1 = imread(‘filename’);‘
image(image1);
[image2, map2] = imread(‘filename’);’
image(image2, map2);
10

  • Univers Univers
  • Ebooks Ebooks
  • Livres audio Livres audio
  • Presse Presse
  • Podcasts Podcasts
  • BD BD
  • Documents Documents