matlab and meshgrid function
이전 댓글 표시
In MATLAB environment, it will perform the same function as meshgrid function. can you write a function
댓글 수: 3
Steven Lord
2020년 6월 9일
Why not just call the already-existing meshgrid function? Why write your own?
If this is part of all of a homework assignment, show us the code you've written to try to implement your version of the meshgrid function and ask a specific question about where you're having difficulty and we may be able to provide some guidance.
If you aren't sure where to start because you're not familiar with how to write MATLAB code, I suggest you start with the MATLAB Onramp tutorial (https://www.mathworks.com/support/learn-with-matlab-tutorials.html) to quickly learn the essentials of MATLAB.
If you aren't sure where to start because you're not familiar with the mathematics you'll need to solve the problem, I recommend asking your professor and/or teaching assistant for help.
mesut icen
2020년 6월 9일
Rik
2020년 6월 9일
You haven't answered the questions Steven asked you.
답변 (1개)
Image Analyst
2020년 6월 9일
Yes, you could, if you wanted to. Then you could compare it to the official Mathworks version by doing this:
>> edit meshgrid.m
to see their source code.
댓글 수: 2
mesut icen
2020년 6월 9일
Image Analyst
2020년 6월 9일
I know you do. You said that already. Then why haven't you started writing it yet? You have the Mathworks version for reference, so what's holding you back? Why do you need an alternate version anyway?
카테고리
도움말 센터 및 File Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!