graph plot for x,y,x verrus C
3 views (last 30 days)
Show older comments
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 Comments
Answers (1)
Souvik Das
on 5 Sep 2022
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.
See Also
Categories
Find more on Vector Fields in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!