Info

This question is closed. Reopen it to edit or answer.

how can i get Tdim{i}(1) non zero while starting the value of k=2:12 ?

1 view (last 30 days)
This question was flagged by Ronit
the result is follows
Tdim{1}
ans =
0
0.6749
0.6941
0.7265
0.7709
0.8180
0.8412
0.8180
0.7709
0.7265
0.6941
0.6749
here is the main code
N=1000;
Tdim=cell(1,N);
for i=1:N
F=zeros(12,1);
for k=2:12
F(k,:)=1+(Y{i}(1)).*log(Rs{i}(k))+(Y{i}(k))*((Rs{i}(k)).^(k-1)-(Rs{i}(k)).^(k-1)).*cos((k-1).*g(k));
end
Tdim{i}=F;
end

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!