WOW !! MUCH LOVE ! SO WORLD PEACE !
Fond bitcoin pour l'amélioration du site: 1memzGeKS7CB3ECNkzSn2qHwxU6NZoJ8o
  Dogecoin (tips/pourboires): DCLoo9Dd4qECqpMLurdgGnaoqbftj16Nvp


Home | Publier un mémoire | Une page au hasard

 > 

Approximation et simulation des signaux sur Matlab

( Télécharger le fichier original )
par Gilles Rubens Badouet
Ecole supérieure multinationale des télécommunications Yaoundé - Cameroun - Exposé 2007
  

précédent sommaire

Bitcoin is a swarm of cyber hornets serving the goddess of wisdom, feeding on the fire of truth, exponentially growing ever smarter, faster, and stronger behind a wall of encrypted energy

IV Partie Travail Pratique N4: Fonction d'erreur de Gauss

Code:

e=8;

t=[-10:0.01:10];

g=(exp(-t.^2/ sqrt(e*pi))/sqrt(e*pi);

plot(t,g,'r'); xlabel('temps t');

ylabel('g');

gtext('la fonction erreur de Gauss');

ésultat :

e=8;

t=[-30:0.01:30];

u=10;

f=(exp(-(t-u).^2/sqrt(e*pi))/sqrt(e*pi)); z=plot(t,f,'b')

xlabel('temps t');

ylabel('g');

Chemin inverse de l'obtention de la function de gauss

A = [f]

fid = fopen('fich.m','r+') : ouverture du fichier en mode lecture/écriture

count = fwrite(fid,f) : écriture dans le fichier des valeurs de la fonction f

fclose(fid) : fermeture du fichier

save gausserror : sauvegarde du fichier contenant le code sous Matlab

load gausserror : chargement en mémoire de ce fichier

gausserror : validation et exécution

Réponse : z =

152.0133

A =

Columns 1 through 5

0.0000 0.0000 0.0000

0.0000

0.0000

Columns 6 through 10

 
 

0.0000 0.0000 0.0000

0.0000

0.0000

Columns 11 through 15

 
 

0.0000 0.0000 0.0000

0.0000

0.0000

Columns 16 through 20

 
 

0.0000 0.0000 0.0000

0.0000

0.0000

Columns 21 through 25

 
 

0.0000 0.0000 0.0000

0.0000

0.0000

Columns 26 through 30

0.0000 0.0000 0.0000

0.0000

- 25 -

0.0000

Columns 31 through 35

 
 

0.0000 0.0000 0.0000

0.0000

0.0000

Columns 36 through 40

 
 

0.0000 0.0000 0.0000

0.0000

0.0000

Columns 41 through 45

 
 

0.0000 0.0000 0.0000

0.0000

0.0000

Columns 46 through 50

 
 

0.0000 0.0000 0.0000

0.0000

0.0000

Columns 51 through 55

 
 

0.0000 0.0000 0.0000

0.0000

0.0000

Columns 56 through 60

 
 

0.0000 0.0000 0.0000

0.0000

0.0000

Columns 61 through 65

 
 

0.0000 0.0000 0.0000

0.0000

0.0000

Columns 66 through 70

 
 

0.0000 0.0000 0.0000

0.0000

0.0000

Columns 71 through 75

 
 

0.0000 0.0000 0.0000

0.0000

0.0000

Columns 76 through 80

 
 

0.0000 0.0000 0.0000

0.0000

0.0000

Columns 81 through 85

 
 

0.0000 0.0000 0.0000

0.0000

0.0000

Columns 86 through 90

0.0000 0.0000 0.0000

0.0000

- 26 -

0.0000

Columns 91 through 95

 
 

0.0000 0.0000 0.0000

0.0000

0.0000

Columns 96 through 100

 
 

0.0000 0.0000 0.0000

0.0000

0.0000

Columns 101 through 105

 
 

0.0000 0.0000 0.0000

0.0000

0.0000

Columns 106 through 110

 
 

0.0000 0.0000 0.0000

0.0000

0.0000

Columns 111 through 115

 
 

0.0000 0.0000 0.0000

0.0000

0.0000

Columns 116 through 120

 
 

0.0000 0.0000 0.0000

0.0000

0.0000

Columns 121 through 125

 
 

0.0000 0.0000 0.0000

0.0000

0.0000

Columns 126 through 130

 
 

0.0000 0.0000 0.0000

0.0000

0.0000

Columns 131 through 135

 
 

0.0000 0.0000 0.0000

0.0000

0.0000

Columns 136 through 140

 
 

0.0000 0.0000 0.0000

0.0000

0.0000

Columns 141 through 145

 
 

0.0000 0.0000 0.0000

0.0000

0.0000

Columns 146 through 150

 

- 27 -

0.0000 0.0000 0.0000

0.0000

0.0000

Columns 151 through 155

 
 

0.0000 0.0000 0.0000

0.0000

0.0000

Columns 156 through 160

 
 

0.0000 0.0000 0.0000

0.0000

0.0000

Columns 161 through 165

 
 

0.0000 0.0000 0.0000

0.0000

0.0000

Columns 166 through 170

 
 

0.0000 0.0000 0.0000

0.0000

0.0000

Columns 171 through 175

 
 

0.0000 0.0000 0.0000

0.0000

0.0000

Columns 176 through 180

 
 

0.0000 0.0000 0.0000

0.0000

0.0000

Columns 181 through 185

 
 

0.0000 0.0000 0.0000

0.0000

0.0000

Columns 186 through 190

 
 

0.0000 0.0000 0.0000

0.0000

0.0000

Columns 191 through 195

 
 

0.0000 0.0000 0.0000

0.0000

0.0000

Columns 196 through 200

 
 

0.0000 0.0000 0.0000

0.0000

0.0000

Columns 201 through 205

 
 

0.0000 0.0000 0.0000

0.0000

0.0000

Columns 206 through 210

 

- 28 -

0.0000 0.0000 0.0000

0.0000

0.0000

Columns 211 through 215

 
 

0.0000 0.0000 0.0000

0.0000

0.0000

Columns 216 through 220

 
 

0.0000 0.0000 0.0000

0.0001

0.0001

Columns 221 through 225

 
 

0.0002 0.0002 0.0004

0.0006

0.0009

Columns 226 through 230

 
 

0.0014 0.0020 0.0029

0.0042

0.0059

Columns 231 through 235

 
 

0.0082 0.0112 0.0150

0.0199

0.0259

Columns 236 through 240

 
 

0.0331 0.0418 0.0518

0.0632

0.0760

Columns 241 through 245

 
 

0.0898 0.1045 0.1197

0.1349

0.1497

Columns 246 through 250

 
 

0.1634 0.1756 0.1856

0.1932

0.1979

Columns 251 through 255

 
 

0.1995 0.1979 0.1932

0.1856

0.1756

Columns 256 through 260

 
 

0.1634 0.1497 0.1349

0.1197

0.1045

Columns 261 through 265

0.0898 0.0760 0.0632

0.0518

- 29 -

0.0418

Columns 266 through 270

 
 

0.0331 0.0259 0.0199

0.0150

0.0112

Columns 271 through 275

 
 

0.0082 0.0059 0.0042

0.0029

0.0020

Columns 276 through 280

 
 

0.0014 0.0009 0.0006

0.0004

0.0002

Columns 281 through 285

 
 

0.0002 0.0001 0.0001

0.0000

0.0000

Columns 286 through 290

 
 

0.0000 0.0000 0.0000

0.0000

0.0000

Columns 291 through 295

 
 

0.0000 0.0000 0.0000

0.0000

0.0000

Columns 296 through 300

 
 

0.0000 0.0000 0.0000

0.0000

0.0000

Columns 301 through 305

 
 

0.0000 0.0000 0.0000

0.0000

0.0000

Columns 306 through 310

 
 

0.0000 0.0000 0.0000

0.0000

0.0000

Columns 311 through 315

 
 

0.0000 0.0000 0.0000

0.0000

0.0000

Columns 316 through 320

 
 

0.0000 0.0000 0.0000

0.0000

0.0000

Columns 321 through 325

0.0000 0.0000 0.0000

0.0000

- 30 -

0.0000

Columns 326 through 330

 
 

0.0000 0.0000 0.0000

0.0000

0.0000

Columns 331 through 335

 
 

0.0000 0.0000 0.0000

0.0000

0.0000

Columns 336 through 340

 
 

0.0000 0.0000 0.0000

0.0000

0.0000

Columns 341 through 345

 
 

0.0000 0.0000 0.0000

0.0000

0.0000

Columns 346 through 350

 
 

0.0000 0.0000 0.0000

0.0000

0.0000

Columns 351 through 355

 
 

0.0000 0.0000 0.0000

0.0000

0.0000

Columns 356 through 360

 
 

0.0000 0.0000 0.0000

0.0000

0.0000

Columns 361 through 365

 
 

0.0000 0.0000 0.0000

0.0000

0.0000

Columns 366 through 370

 
 

0.0000 0.0000 0.0000

0.0000

0.0000

Columns 371 through 375

 
 

0.0000 0.0000 0.0000

0.0000

0.0000

Columns 376 through 380

 
 

0.0000 0.0000 0.0000

0.0000

0.0000

Columns 381 through 385

 

- 31 -

0.0000 0.0000 0.0000

0.0000

0.0000

Columns 386 through 390

 
 

0.0000 0.0000 0.0000

0.0000

0.0000

Columns 391 through 395

 
 

0.0000 0.0000 0.0000

0.0000

0.0000

Columns 396 through 400

 
 

0.0000 0.0000 0.0000

0.0000

0.0000

Column 401

0.0000

fid =

+1

-30 -20 -10 0 10 20 30

g

0.18

0.16

0.14

0.12

0.08

0.06

0.04

0.02

0.2

0.1

0

temps t

précédent sommaire






Bitcoin is a swarm of cyber hornets serving the goddess of wisdom, feeding on the fire of truth, exponentially growing ever smarter, faster, and stronger behind a wall of encrypted energy








"Enrichissons-nous de nos différences mutuelles "   Paul Valery