开发者

MATLAB's 'meshgrid' in C

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!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜