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

Réponses (1)

Souvik Das
Souvik Das le 5 Sep 2022

0 votes

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 commentaire

yogeshwari patel
yogeshwari patel le 8 Sep 2022
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

Connectez-vous pour commenter.

Catégories

En savoir plus sur Line Plots dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by