Binomial theorem with derivatives in MATLAB

I'm very new to MATLAB and trying to write a code to compute , where and .
is a time-derivative operator. So for example, .
Can anyone please give me a hint on how to code please?

댓글 수: 2

Jan
Jan 2021년 12월 7일
Numerically or symbolically?
Symbollically. I wrote this code. Does this make sense?
B(t) = 0;
for k = 0:n
B(t) = B(t) + nchoosek(n, k)*diff(f(t), t, k)*c^(n - k);
end

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

질문:

2021년 12월 7일

댓글:

2021년 12월 7일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by