graph plot for x,y,x verrus C
2 次查看(过去 30 天)
显示 更早的评论
syms x y h
syms a
syms t
% Initialization
U=zeros(1,2,'sym');
A=zeros(1,2,'sym');
B=zeros(1,2,'sym');
series(x,y,t)=sym(zeros(1,1));
U(1)=sqrt(x*y);
for k=1:5
U(k+1)=(gamma((k-1)*a+1))/(gamma(a*k+1))*(diff((U(k))^2,x,2)-diff((U(k))^2,y,2)+h*U(k));
end
for k=1:6
series(x,y,t)=series(x,y,t)+U(k)*(power(t,k-1));
end
series
C=zeros(1,1);
for i=1:5
e=x-1;
for j=1:5
f=y-1;
for k=1:5
g=t-1;
C(i,j,k)=(series(e,f,g));
end
end
end
vpa(C,15)
I am not able to calculate the value of C and I want to plot C w.r.t to x,y, t So how to plot the grap
0 个评论
回答(1 个)
Souvik Das
2022-9-5
You can use 3d plots for plotting in this scenario. I am attaching a link which explains the use and implementation of various 3d plots.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Calculus 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!