Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

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

1 visualización (últimos 30 días)
Deepesh Kumar Gupta
Deepesh Kumar Gupta el 4 de Oct. de 2021
Cerrada: DGM el 24 de Sept. de 2024
Ronit ha marcado con alerta este/a pregunta
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)

La pregunta está cerrada.

Community Treasure Hunt

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

Start Hunting!

Translated by