Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Bode plot using GUI

Subject: Bode plot using GUI

From: Andria

Date: 20 Aug, 2012 17:52:09

Message: 1 of 1

Hi,

I am a beginner in Gui also to matlab with a matlab version of R2010b.

I have a transfer function H(s)= K*((s+a)*(s+b)) / ((s+c)*(s+d)*(s+e)*(s+f))
where s=jw
and want to be able to change the values of the parameters of a,b,c,d,e,f and the gain K using the Interface to get the bode plot of Magnitude and phase (2 plots) for different input parameters .
Also, must be able to change the M & N values for the transfer function.i.e N>=M

I have created an interface with default values for these parameters and the axes to obtain the 2 plots but not able to get the exact programming code to get it work.

Can anyone help me with this.

Tags for this Thread

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.

Contact us