Writing a function for an interpolation method
1 view (last 30 days)
I wonder if someone could help me. I've been writing a function to use a certain type of interpolation method. The 2D section of it works, however I'm having a problem with the 3D part of it. My supervisor has also edited it and we're still getting an error. I've attached the function and my test script. The error we keep getting is:
Output argument "output" (and maybe others) not assigned during call to "interp_azonal3Dv2".
Error in test (line 55)
[vel_test] =interp_azonal3Dv2(x,y,sigloc,lvls,tri,vel); % 6 variables
Any help is much appreciated :)
P.s. you won't be able to run the function because it calls on data that I can't post on this website.