Introduction to Meshgrid Function and 3D Plotting in MATLAB

#matlab #matlabtutorials #programmingtutorials #matlabsimulation #surf #programming #controltheory #controlengineering #optimization #matlab
It takes a significant amount of time and energy to create these free video tutorials. You can support my efforts in this way:
- Buy me a Coffee: www.buymeacoffee.com/Aleksand...
- PayPal: www.paypal.me/AleksandarHaber
- Patreon: www.patreon.com/user?u=320801...
- You Can also press the Thanks KZread Dollar button
1.) Define a mesh in MATLAB by using the meshgrid function
2.) Use meshgrid function to create 3D plots by using mesh, surf, and surfl functions

Пікірлер: 14

  • @cana5312
    @cana5312 Жыл бұрын

    Thank you so much for the description, I am working on the physics project for the wave guide simulation and ur video helped me so much thanks

  • @aleksandarhaber

    @aleksandarhaber

    Жыл бұрын

    Glad it helps

  • @jluke6861
    @jluke6861 Жыл бұрын

    Thank you.

  • @freemanmeno2709
    @freemanmeno2709 Жыл бұрын

    Great content! However, how does someon set axes limits of a surf plot? When I set limites they reflect on the axes but my plot disappears

  • @aleksandarhaber

    @aleksandarhaber

    Жыл бұрын

    Hello Freeman, thank you for the comment. I am not sure how to do that. Sorry that I do not have time to investigate that. Best, A. Haber

  • @SURAJITHDE
    @SURAJITHDE Жыл бұрын

    sir, can it possible to create 3d surface plot by taking a grayscale image as an input?

  • @aleksandarhaber

    @aleksandarhaber

    Жыл бұрын

    If your grayscale image is a matrix, this is possible I think. surf() function requires that you specify a matrix as an input. Best, A. Haber

  • @mina.corner
    @mina.corner Жыл бұрын

    Hello, I am currently a freshman and struggling to use python for my Calculus project. How should I do if I need to illustrate 2 3D objects at the same time, in only one picture? I am looking forward to your help. Thank you so much.

  • @aleksandarhaber

    @aleksandarhaber

    Жыл бұрын

    This is definitely possible. Did you try with "hold on" in MATLAB. This command is used to plot several curves on the same graph. Maybe it can also work with surf and Meshgrid. Unfortunately, I do not have time to investigate this further.

  • @anuragreghu827
    @anuragreghu82710 ай бұрын

    meshgrid will also work if the dimensions of vector x and vector y are different. No of rows of X will be the dimension of y, and number of columns of Y will be the dimension of X. Hope the above statement is correct.

  • @aleksandarhaber

    @aleksandarhaber

    10 ай бұрын

    I think so, you can give it a try.

  • @aleksandarhaber

    @aleksandarhaber

    10 ай бұрын

    Did u do it? What is the outcome?

  • @aleksandarhaber
    @aleksandarhaber2 жыл бұрын

    It takes a significant amount of time and energy to create these free video tutorials. You can support my efforts in this way: - Buy me a Coffee: www.buymeacoffee.com/AleksandarHaber - PayPal: www.paypal.me/AleksandarHaber - Patreon: www.patreon.com/user?u=32080176&fan_landing=true - You Can also press the Thanks KZread Dollar button

  • @aleksandarhaber
    @aleksandarhaber2 жыл бұрын

    The post accompanying this video is given here: aleksandarhaber.com/explanation-of-meshgrid-function-in-matlab-and-3d-plotting-using-mesh-surf-and-surfl-functions/