I just succeeded in translating a FORTRAN subroutine named PNPOLY into m file, which is related to making a geometric model using Randolph Franklin's algorithm(1972), and testing it. But I have still one problem in my m-file. Whenever I execute my m-file, it always return the output value in the screen, although I used semicolon in testing file of that function. My function's prototype is function inout = pnpoly(px,py,x,y,n) and I called it in my MODEL.M file using next command: ... LM(m,n)=pnpoly(i,j,x1,z1,9); <-I used ;(semicolon) here surely! ... Because ixj is 31x21 matrix, I need to be sitting absent-mindedly more than 3 minutes until for-loop is over. Any suggestions?
Thanks in advance.
-- Center for Lithospheric Studies The University of Texas at Dallas Programs in Geosciences __H) 972-407-9978 O) 972-883-2843 __R) BE. 3.526 Fax)972-883-2829