graph plot for x,y,x verrus C

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

回答(1 个)

Souvik Das
Souvik Das 2022-9-5

0 个投票

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.

1 个评论

Thank you for the answer but I am not able to evauate the error of C as x,y,z, are three independent variable and C is dependent variable

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Line Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by