deriving fractions in matlab
Afficher commentaires plus anciens
hi, is it possible to derive a fraction? for example: (s+2)/(s^2+7)
thanks.
Réponse acceptée
Plus de réponses (1)
Azzi Abdelmalek
le 18 Juin 2013
You can also use an approximate derivation of your function:
s=0:0.01:100;
y=(s+2)./(s.^2+7);
dy=diff(y)./diff(s)
plot(s(1:end-1),dy)
1 commentaire
the noob
le 18 Juin 2013
Catégories
En savoir plus sur Manage Products dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!