Thread Subject:
bode plots

Subject: bode plots

From: Chris

Date: 21 Sep, 2011 00:00:27

Message: 1 of 2

I want to make a bode plot of some data but cannot seem to figure out how the make the function bode work if I'm only have the frequency, gain, and phase angles.


so far I have:

a = 2*28.04*.171; %numerator of transfer function
b = 28.04^2; %natural frequency
tf1 = tf(28.04^2,[1 a b]);
figure;
bode(tf1)

This gives me one of the bode plots.

I want a bode plot from this table:

freq gain phase
3.264 -7.19087236 47.0016
1.058 -10.28891155 15.2352
4.87 -10.25942729 129.7368
7.62 -18.84016106 205.74

Is making a bode plot from this raw data possible?

Subject: bode plots

From: Anony Mous

Date: 21 Sep, 2011 12:35:02

Message: 2 of 2

On 9/20/2011 8:00 PM, Chris wrote:
> I want to make a bode plot of some data but cannot seem to figure out
> how the make the function bode work if I'm only have the frequency,
> gain, and phase angles.
>
>
> so far I have:
>
> a = 2*28.04*.171; %numerator of transfer function
> b = 28.04^2; %natural frequency
> tf1 = tf(28.04^2,[1 a b]);
> figure;
> bode(tf1)
>
> This gives me one of the bode plots.
>
> I want a bode plot from this table:
>
> freq gain phase
> 3.264 -7.19087236 47.0016
> 1.058 -10.28891155 15.2352
> 4.87 -10.25942729 129.7368
> 7.62 -18.84016106 205.74
>
> Is making a bode plot from this raw data possible?

Since you already have the data, why don't you just use the semi log
option in the "plot" command and convert the gain units to dB and then
plot the data as two separate gain and phase plots?

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
bode Chris 20 Sep, 2011 20:04:35
rssFeed for this Thread

Contact us