Borrar filtros
Borrar filtros

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

2 visualizaciones (últimos 30 días)
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

Respuestas (0)

Categorías

Más información sobre Optimization en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by