How can i write that function to be iterative in Matlab?
이전 댓글 표시
How can i write that function to be iterative in Matlab?
Array_list=(rand(size,Dim).*(Up-Low)+Low)
result_list=(rand(size,1).*(Up-Low)+Low)
That function is :

댓글 수: 2
Russel Burgess
2021년 3월 8일
It's not entirely clear what you're aiming to do here - doesn't
just reduce to
?
John D'Errico
2021년 3월 8일
If I had to bet, the expression was written incorrectly. The goal is probably to form the expression
sum(array_list./result_list)/sum(1./resultlist)/2
thus with a sum in both the numerator and denominator.
Regardless, it is not clear what is to be iterative about this anyway.
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Solver Outputs and Iterative Display에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!