i like to use a library or function in C which could perform the same function as performed by meshgrid in MATLAB.
looking for support.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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
forstatement to create the appropriate matrix.If you post more details then maybe we can help you more!