could anyone help me how to write the expression in matlab
Mostrar comentarios más antiguos
Could anyone help me how to write the attached expression in matlab
1 comentario
Walter Roberson
el 22 de Ag. de 2018
Is it correct that that is intended to be a recursive definition for tau ? If so then we would need to know t_0 in order to calculate the other values.
Respuestas (1)
Yuvaraj Venkataswamy
el 22 de Ag. de 2018
if true
M=yourInteger; % greater than 1
for k=0:M-1
t(M-1)=[M-1;k].*t(k)
end
end
3 comentarios
Walter Roberson
el 22 de Ag. de 2018
Unfortunately not. The notation
(M-1)
(k )
is the number of combinations of (M-1) choose k,
nchoosek(M-1, k)
Also, you are assigning to the same location t(M-1) each time, and you are not doing a summation.
Stephen23
el 22 de Ag. de 2018
Yuvaraj Venkataswamy
el 22 de Ag. de 2018
Yes sir. You are correct. But, in the attached figure, the notation is look like a vector. In that case, I did. Thank you.
Categorías
Más información sobre Whos en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!