Plotting 3D of Bessel equation using Matlab
Mostrar comentarios más antiguos
Please help with this code, is giving me negative at x.
The code is attached below
e = 137.46 ;
g = 6.66;
t = 13.85;
x = 0 : 0.001 : 0.002;
y = 0 : 0.002 : 0.004;
C = 800;
[X,Y] = meshgrid(x,y);
a = -(y*g)/2;
n = ((y.*sqrt(g.^2)-4.*t)/2);
M = C.*x.^a.*besseli(e,x);
mesh (M, X, Y);
xx = -2 : 0.25 : 3;
yy = -2 : 0.25 : 3;
zz = C.*xx.^-0.0067.*besseli(e,xx);
densityplot(yy, zz, [4 4]);
xlabel('intimal/media'); ylabel('y'); zlabel('z');
Thank you
Respuestas (2)
KALYAN ACHARJYA
el 26 de Ag. de 2019
0 votos

6 comentarios
idowu Abdul-Semiu
el 26 de Ag. de 2019
idowu Abdul-Semiu
el 26 de Ag. de 2019
KALYAN ACHARJYA
el 26 de Ag. de 2019
Editada: KALYAN ACHARJYA
el 26 de Ag. de 2019
Another plot is: 3D mesh
mesh (M, X, Y);
Is this X, as you are mentioning?
>> X
X =
0 0.0010 0.0020
0 0.0010 0.0020
0 0.0010 0.0020
>>
idowu Abdul-Semiu
el 26 de Ag. de 2019
idowu Abdul-Semiu
el 26 de Ag. de 2019
KALYAN ACHARJYA
el 26 de Ag. de 2019
Editada: KALYAN ACHARJYA
el 26 de Ag. de 2019
his exactly what is giving me. but the value of x10^-209 is the problem am having, is there a way to reduce the x to something smaller.
Change the these values, for your desire results, ensure that both must have same length
xx = -2 : 1 : 10;
yy = -2 : 1 : 10;
idowu Abdul-Semiu
el 29 de Ag. de 2019
0 votos
Categorías
Más información sobre Polar Plots en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!