could anyone help me how to write the expression in matlab
Show older comments
Could anyone help me how to write the attached expression in matlab
1 Comment
Walter Roberson
on 22 Aug 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.
Answers (1)
Yuvaraj Venkataswamy
on 22 Aug 2018
if true
M=yourInteger; % greater than 1
for k=0:M-1
t(M-1)=[M-1;k].*t(k)
end
end
3 Comments
Walter Roberson
on 22 Aug 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
on 22 Aug 2018
Yuvaraj Venkataswamy
on 22 Aug 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.
Categories
Find more on Creating, Deleting, and Querying Graphics Objects in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!