Binomial theorem with derivatives in MATLAB

6 views (last 30 days)
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 Comments
CactusHamster
CactusHamster on 7 Dec 2021
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

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!