File Exchange

image thumbnail

bodas

version 1.0.1 (23.1 KB) by Auralius Manurung
The asymptotic bode diagram in MATLAB

1 Download

Updated 16 May 2019

GitHub view license on GitHub

bodas
The asymptotic bode diagram in MATLAB

Formalization
An open loop transfer function is decomposed into the following forms:

G1(s)=a/(s+a)
G2(s)=(s+b)/s
G3(s)=1/s
G4(s)=s
G5(s)=K

It is a must to formalize the system first. Also, bodas CAN NOT handle complex poles/zeros.

How to use
A system with gain = 0.1, and zeros = [10 100], poles = [1]

% G(s) = (s+10)/10 * (s*100)/100 * 1/(s+1) * 0.1
bodas([10 100], [1], 0.1)

A system with gain = -10, zeros = [0], poles = [1 1 10]. The bode is drawn in frequency 0.002 to 1000 rad/s

% G(S) = s * 1/(s+1) * 1/(s+1) * 10/(s+10) * (-10)
bodas([0],[1 1 10], -10, [-2 3])

Here, in the last argument, -2 corresponds to 10^-2 and 3 corresponds to 10^3.

Cite As

Auralius Manurung (2020). bodas (https://www.github.com/auralius/bodas), GitHub. Retrieved .

Comments and Ratings (0)

Updates

1.0.1

Updated the description.

MATLAB Release Compatibility
Created with R2019a
Compatible with any release
Platform Compatibility
Windows macOS Linux