I try to make an App...
|
02-11-2015, 09:46 PM
(This post was last modified: 02-11-2015 09:52 PM by dg1969.)
Post: #1
|
|||
|
|||
I try to make an App...
Hello,
I try to make an small APP derived from FUNCTION APP to plot Bode module and phase or temporal impulse response... It need a lot of improvements but it do the job very basically. Place your transfert function (in term of X) in symb view then press plot. Choose "module" or "phase" or "temporal"... You need to fix setup plot to fit the curve manually... My best wishes is to find some help to improve the phase function to automatically plot it in the -inf ; +inf domain (without the -pi ; +pi discontinuity) Be careful ! there are pieces of french in the soup... Code:
|
|||
02-12-2015, 09:35 PM
(This post was last modified: 02-14-2015 08:40 PM by dg1969.)
Post: #2
|
|||
|
|||
RE: I try to make an App...
EDIT :I change the code of the "calcule_rep_temp()" function...
Hi, I tried to improve the code... Now the time response is a step response... Comments and criticism are welcome ... I forgot an important comment... transfer functions must be write without float numbers. F1(X)=1/(1+0.2*X) doesn't works... but F1(X)=1/(1+1/2*X)^2 is ok... Code:
|
|||
02-16-2015, 10:32 PM
(This post was last modified: 02-16-2015 10:36 PM by dg1969.)
Post: #3
|
|||
|
|||
RE: I try to make an App...
In this last version I change the phase calc function... phase plot is done now without discontinuity.
In SYMB view you can place 1 to 10 transfer functions in term of 'X', example: Code:
Actually the exponential term must be at the end of the expression (see the example above) not very powerfull but it do the job to model a pure delay. No float numbers ! only integers ! Then press PLOT to choose step response , Bode module or Bode phase (x axis is in term of LOG10(pulsation)) . There is no automatic scale. You have to escape from plot view (pressing num or symb again) if you want to choose another plot... If you find some time I would like to learn and improve my practice through constructive criticism ... Thanks ;o) Code:
|
|||
02-18-2015, 07:08 AM
Post: #4
|
|||
|
|||
RE: I try to make an App...
Nice work!
|
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 3 Guest(s)