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 comentarios

Jan
Jan el 7 de Dic. de 2021
Numerically or symbolically?
CactusHamster
CactusHamster el 7 de Dic. de 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

Iniciar sesión para comentar.

Respuestas (0)

Preguntada:

el 7 de Dic. de 2021

Comentada:

el 7 de Dic. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by