How to make rectangular meshgrid
14 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi i wanted to how can we create and plot a rectangular meshgrid. Thanks in advance
0 commentaires
Réponses (1)
Walter Roberson
le 29 Août 2018
Example:
[X, Y] = meshgrid( linspace(-2,2), linspace(-pi, pi) );
Z = X/10 + X .* sin(Y);
surf(X, Y, Z, 'edgecolor', 'none');
0 commentaires
Voir également
Catégories
En savoir plus sur Surface and Mesh Plots dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!