3d, semi parametric equations

3 visualizaciones (últimos 30 días)
Toby Silver
Toby Silver el 27 de Abr. de 2021
Respondida: Shubham Khatri el 10 de Mayo de 2021
I have a complicaded equation i would like to 3D surface plot but have no idea how to start
heres my attempt so far.
Nmax = 1;
N0 = 2;
Zmax = 3;
Z0 = 1;
T = 1;
fc = 200; %cutoff freq
wc = fc*pi;
c = 343;
kc = wc/c;
l = 0.2; %m
Sd = pi*0.025^2;
zlist = linspace(0,1,1000);
tlist = linspace(0,2*pi,1000);
x = zeros(1000);
y = zeros(1000);
x = ((cosh(kc*z)+T*sinh(kc*z))./(gamma(1+l./(z*Nmax+(l-z)*N0)))).*...
(sqrt((l*Sd*gamma(1+(2*l)./(z*Nmax+(l-z)*N0)))/(z*Zmax+(l-z)*Z0))).*...
(((abs(cos(t))).^((2*l)./(z*Nmax+(l-z)*N0))).*sign(cos(t)));
y = ((cosh(kc*z)+T*sinh(kc*z))./(gamma(1+l./(z*Nmax+(l-z)*N0)))).*...
(sqrt((l*Sd*gamma(1+(2*l)./(z*Nmax+(l-z)*N0)))/(z*Zmax+(l-z)*Z0))).*...
((z*Zmax+(l-z)*Z0)/l).*...
(((abs(sin(t))).^((2*l)./(z*Nmax+(l-z)*N0))).*sign(sin(t)));
plot3(x,y,z)

Respuestas (1)

Shubham Khatri
Shubham Khatri el 10 de Mayo de 2021
Hello,
I tried the code at my end, I find that the code does not defines z and t. After defining the code with z and t, the code ran but without any observations. I suggest you break the formula in small chunks and then run.
Hope it helps

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by