Borrar filtros
Borrar filtros

Info

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

how to calculate this

1 visualización (últimos 30 días)
Nasir Qazi
Nasir Qazi el 20 de Feb. de 2012
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
I need a help in this to find in matlab ∑_i∑_j[y_(i ) y_j √(a_i a_j e_i e_j )]
where only yi, yj are same component which are C1,C2,C3,C4 , and each components has a value of aj,aj,ei,ej , this sign ∑ came twice in here and I dont know how to expand this equation ..

Respuestas (1)

Image Analyst
Image Analyst el 20 de Feb. de 2012
Wouldn't it just be
sumOfArray = 0;
for ii = 1 : lastI
for jj = 1 : lastJ
sumOfArray = sumOfArray + y(ii)*y(jj)*sqrt(a(ii)*a(jj)*e(ii)*e(jj));
end
end
  1 comentario
Nasir Qazi
Nasir Qazi el 21 de Feb. de 2012
a and e has different values in it

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