Hello, Appart from the parenthetis error pointed out by Pierre-Aimé, something imho a bit more efficient:
distance(i,j) = norm([etat(i, :) - etat(j, :)]) Best regards -- Christophe Dang Ngoc Chan Mechanical calculation engineer ______________________________________________________________________ This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. ______________________________________________________________________ _______________________________________________ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users