Weiszfeld's Algorithm In Matlab -


i taking course out of major trying learn new stuff. have never coded before, , find out of students have had previous courses in matab.

i tasked creating program find optimal plant location using weiszfeld's algorithm. have come code below far:

a= [10,2]; b= [6,10]; c= [8,6]; d= [12,5];  x= 6; y= 5; z= 2; w= 4;  x_value = 0; y_value = 0;  while      score =     while score > 0.001         x_value =         y_value =     end end 

i not know how enter summation these things, or execute. a, b ,c ,d previous locations , x ,y ,z ,w cost*frequency=w each respective piece.


Comments

Popular posts from this blog

java - Spring Data JPA: Why findOne(id) executing delete query internally? -

python - Mongodb How to add addtional information when aggregating? -

java - Incorrect order of records in M-M relationship in hibernate -