i like to use a library or function in C开发者_JAVA技巧 which could perform the same function as performed by meshgrid in MATLAB.
looking for support.
I don't see why you need a function or library for this.
This says "[X,Y] = meshgrid(x,y) transforms the domain specified by vectors x and y into arrays X and Y, which can be used to evaluate functions of two variables"
If the vector is something like "a:b" then you can use a for
statement to create the appropriate matrix.
If you post more details then maybe we can help you more!
精彩评论