Prev: error using reshape
Next: Connecting generated code from real-time workshop to target-environment
From: Fivos on 1 Jul 2010 09:25 Hi, I have a 3D matrix where Z depends on X Y . I use this code to generate my surface : F = TriScatteredInterp(x,y,z); Z= F(X,Y); h=surf(X,Y,Z,'FaceColor','interp','FaceAlpha',0.8); Using the cursormode i can press anywhere on the surface and get the interpolated values for any given point that wasn't initially in my matrix. Is there a way to specify Z programmatically and get X & Y ? We know that all values of Z are unique so to each Z value corresponds only one combination of X & Y thanks in advance
|
Pages: 1 Prev: error using reshape Next: Connecting generated code from real-time workshop to target-environment |