Matlab function: c2d => what does sample time
5 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hi all.
I'm trying to convert a continues transfer function into a discrete. I know that the matlab function c2d can be used to this purpose. But what does the sample time? I mean, if I late choose to work with a signal with a different sample frequency, would I then need to convert the filter again, and why?
[sysd,G] = c2d(sys,Ts,method)
0 Commenti
Risposta accettata
Paulo Silva
il 15 Ago 2011
That's just the sampling time of the conversion of your transfer function from continuous to discrete (each method has it's own formula and the Ts is part of it, see the methods and formulas in books like Digital Control of Dynamic Systems), you can change the sampling time of the input signal without convert again but you must be careful with the sampling times, plot the continuous and discrete response to your input on the same axes and see if they are similar, low Ts values require more processing power but result in better responses, high Ts values require less processing power but don't give good results, you must make a compromise and choose the Ts that satisfy your project requirements.
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Electrical Block Libraries in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!