graph plot for x,y,x verrus C

조회 수: 2 (최근 30일)
yogeshwari patel
yogeshwari patel 2022년 9월 1일
댓글: yogeshwari patel 2022년 9월 8일
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일
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
yogeshwari patel
yogeshwari patel 2022년 9월 8일
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

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Calculus에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by