Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 09-11-2009
Member
 
Join Date: Jul 2009
Posts: 154
Bode Plot in C

Hi everyone
I am working on a project in C. The project need is a Bode Plot, so I am trying to program a GUI based application that accepts a transfer function and draws Bode Plot using C language. Any idea how can I design the code. Were can I get the code for my reference. Any help please, help will be appreciated and even I have a timeliness to my project, so I am excepting for a reply as soon as possible, that I can continue my work.
Reply With Quote
  #2  
Old 09-11-2009
Member
 
Join Date: Jul 2009
Posts: 140
Re: Bode Plot in C

Hello
Just saw you query which you mentioned in your post, and even I was thing for a moment. I can't give you the program, because even I do not have such program on Bode Plot. As your project requires a bode plot and you want GUI program to write the program. I would like to suggest you to refer to C library functions. All C programs are basically collection of different programs, so you can refer to graphic() function for more details to get started. Thank you for posting and if any query be free to post again.
Reply With Quote
  #3  
Old 09-11-2009
Member
 
Join Date: Apr 2008
Posts: 2,001
Re: Bode Plot in C

Hi
You are trying the code in C, I suggest you the write the code in MATLAB. It is hard to write a program of Bode plot in C, but if you are going to use MATLAB you can do it easily. here is an example of a MATLAB code
Code:
e.g
F(s)= (s^2 + 6s + 7)/(s^3 + 5s^2 + 8 )
bode plot can be generated by simple commands
Code:
num=[0 1 6 7];
den=[1 5 0 8];
bode(tf(num,den))
When you are done with this code the magnitude vs frequency and phase vs frequency plot graph will appear. And if you try to write the same in C it will take a long time. It is just another option for you to make your work fast.
Reply With Quote
  #4  
Old 09-11-2009
Member
 
Join Date: Jul 2009
Posts: 154
Re: Bode Plot in C

Thanks for your suggestions and advice
I will surely refer to the related C library and check if I can get some library function for a C graphics program. And your project is in C using graphic so I can't change the language, really sorry for that. But thanks for your suggestion. In future I will keep this in mind. Thanks again for your advice and suggestion.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Bode Plot in C"
Thread Thread Starter Forum Replies Last Post
How to plot XYZ points in Microsoft Excel Genesee MS Office Support 1 25-02-2012 11:38 AM
First contact plot in Interstellar Marines Sumeetay Video Games 9 15-01-2012 09:17 PM
Plot hole in Brink ABRIELLE Video Games 5 19-05-2011 10:21 AM
Scatter plot in excel Gunner 1 Windows Software 5 06-01-2010 02:14 PM
MS project: How to plot resource chart in % of FTE jeannot Windows Software 2 10-03-2009 03:12 PM


All times are GMT +5.5. The time now is 03:20 PM.