Prev: Spline and NaN
Next: penalty to fminsearch
From: Oluwa KuIse on 10 May 2010 11:55 Thanks for your answers, it worked. I have a related problem still in overland flow: For certain values of fluid depth e.g. h < 0.001, I want to set the ground slope, Sox, equal to the friction slope, Sfx. Pseudocode: %given h, Sox and Sfx all of the same size For (i,j) = h <0.001 Sfx(i,j) = Sox(i,j); % Replace the elements in positions (i,j) in Sfx with their corresponding values in Sox. end Regards, Michael
|
Pages: 1 Prev: Spline and NaN Next: penalty to fminsearch |