deriving fractions in matlab
이전 댓글 표시
hi, is it possible to derive a fraction? for example: (s+2)/(s^2+7)
thanks.
채택된 답변
추가 답변 (1개)
Azzi Abdelmalek
2013년 6월 18일
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)
카테고리
도움말 센터 및 File Exchange에서 Manage Products에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!