# bode

Diagramme de Bode de la réponse en fréquence, données de magnitude et de phase.

## 📝 Syntaxe

* bode()
* bode(H)
* bode(H, wIn)
* bode(H, w, lineSpec)
* \[magnitude, phase, w] = bode(H)
* \[magnitude, phase, w] = bode(H, wIn)

## 📥 Argument d'entrée

* H - un modèle lti.
* wIn - une cellule {wmin, wmax} ou un vecteur \[wmin:wmax].
* lineSpec - Style de ligne, marqueur et couleur.

## 📤 Argument de sortie

* magnitude - Amplitude : taille 1 x 1 x k (SISO).
* phase - Phase: size 1 x 1 x k (SISO).
* w - Frequencies: a vector: 1 x k.

## 📄 Description

bode(sys) generates a Bode plot illustrating the frequency response of a dynamic system model, denoted as sys.

This plot visually represents the system's response in terms of both magnitude (measured in decibels, dB) and phase (measured in degrees) across varying frequencies.

The specific frequency points on the plot are automatically determined by bode based on the system's inherent dynamics.

## 💡 Exemple

```matlab
H = tf([1 0.1 7.5],[1 0.12 9 0 0]);
bode(H,{1 10}, '-.')
```

![](https://160667757-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPvJ6mJve3gz5MU4d1%2Fuploads%2Fgit-blob-7cf8360e85b82d00840e8078cc17724ff731fa14%2Fbode1.svg?alt=media)

## 🔗 Voir aussi

[plot](https://nelson-9.gitbook.io/nelson/markdown/fr/graphics/plot).

## 🕔 Historique

| Version | 📄 Description   |
| ------- | ---------------- |
| 1.0.0   | version initiale |
