Can u please help me here, how to draw this type type of graph

1 view (last 30 days)
Parveiz Lone
Parveiz Lone on 25 Nov 2021
Commented: Parveiz Lone on 25 Nov 2021

Answers (1)

Yusuf Suer Erdem
Yusuf Suer Erdem on 25 Nov 2021
Hi Parveiz, try these codes below please, good luck.
clc; clear; close all;
[X,Y,Z] = meshgrid(-2:.2:2);
V = X.*exp(-X.^2-Y.^2-Z.^2);
xslice = [-1.2,0.8,2];
yslice = [];
zslice = [];

Community Treasure Hunt

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

Start Hunting!