So here is my code
N=6; V is a matrix which is 6x6
[X, Y] = meshgrid (1: N, 1: N);
surf (X, Y, V);
With this code, one plots in Matlab a scalar field over a square surface. How to plot over another surface (triangle, for example)

Réponses (1)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by