How can i write that function to be iterative in Matlab?
Ältere Kommentare anzeigen
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 Kommentare
Russel Burgess
am 8 Mär. 2021
It's not entirely clear what you're aiming to do here - doesn't
just reduce to
?
John D'Errico
am 8 Mär. 2021
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.
Antworten (0)
Kategorien
Mehr zu Solver Outputs and Iterative Display finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!