yogeshwari patel
Followers: 0 Following: 0
Feeds
提问
expressing the complex function
clear i syms x t U=zeros(1,2,'sym'); A=zeros(1,2,'sym'); series(x,t)=sym(zeros(1,1)); U(1)=exp(i*x); alpha=1; for k=1:2 ...
2 months 前 | 2 个回答 | 0
2
个回答提问
Unable to resolve the name
area = 1e-4; % Cell area in m^2 (1 cm^2) ratio = 90/100; % Active material ratio scan_rate = 0.01; % Scan rate for CV in V/s ...
3 months 前 | 1 个回答 | 0
1
个回答提问
Regarding the vectors calculation
x = 0:0.1:1; t = 0.5; u_exact = sin(x) .* exp(-t) u_approx = sin(x) .* ((t^2 - 2*t + 2) / 2); absolute_error = abs(u_exact...
3 months 前 | 1 个回答 | 0
1
个回答提问
Plot grraph , srink is problem
the following code is plot the graph I want to change the Y axis value so that the box and plot on x -axis does concide , I try ...
3 months 前 | 1 个回答 | 0
1
个回答提问
symbolic variable and assignment operator
syms x syms t b0=0.05 a3=0.1 b3=0.3; A=(2*b3-1)/(2*a3-1) B=(1/2)*b0*((4*a3*b3-1)/2*a3-1); U=zeros(1,2,'sym'); V=zeros(...
3 months 前 | 1 个回答 | 0
1
个回答提问
for double for loop error
syms x t%a g d l1 m1 %%%%%%%%%%%%%%%% Fractional Order% alpha=2; beta=1; %%%%%%%%%%%% initilization of variable%%%%%% U=zer...
6 months 前 | 0 个回答 | 0
0
个回答提问
how to plot graph using fplot command
syms x y=exp(x) fplot(y) I got the following errpor. If I replace exp(x) by sin(x) then the code shows graph in the default ...
12 months 前 | 2 个回答 | 0
2
个回答提问
How to find the factors of the polynomial in one than one variable
syms x y e1=x^2+4 factor(e1) P = x^2 + y^2 QF = factor(P,x,'FactorMode','full') factor(x^3 + 2, x, 'FactorMode', 'full') I...
12 months 前 | 1 个回答 | 0
1
个回答提问
how to use the subs syntax for the two variable
syms x a series1(x) = a+(2/3)*a*x+(5/3)*a^2*x^2+(1/3)*a^3*x^3 a=0.56 series2(x)=subs(series1,a,0.56) %%%%%%%%%%%%%%%%%%%%%%...
1 year 前 | 2 个回答 | 0
2
个回答提问
Function file with more than one out put and how to use that function file for two different output
I have a function and its derivative Now I want to creat a function file with both the output so that i can creat one ne...
1 year 前 | 1 个回答 | 0
1
个回答提问
There is an error in call the function file
function V = fluxfunction(a,b) % Godunov V = max(f(max(a,0)),f(min(b,0))); end %%%%%%%%%%%%%%%%%% % Godunov Scheme % ut + ...
1 year 前 | 1 个回答 | 0
1
个回答提问
UNABLE TO PERFORM THE ASSIGNMENT
syms a x z Finaleq_1 K alpha A C=zeros(1,'sym') Finaleq_1=zeros(1,2,'sym') A=zeros(1,'sym') series(x)=sym(zeros(1,1)); C(1...
1 year 前 | 2 个回答 | 0
2
个回答提问
variable store in loop
syms z x a v Y(1)=a T=0 for k=1:2 Y(k+1)=z v=0 for l=1:k v=v+kroneckerDelta(sym(l-2))*(k+2-l)*(k+1-l)...
2 years 前 | 1 个回答 | 0
1
个回答提问
calculation error in hyperbolic function
syms x syms t U=zeros(1,2,'sym'); A=zeros(1,2,'sym'); B=zeros(1,2,'sym'); C=zeros(1,2,'sym'); series(x,t)=sym(zer...
2 years 前 | 1 个回答 | 0
1
个回答提问
3 d plot for the symbolic calculation
syms x a t f=1 U=zeros(1,2,'sym'); A=zeros(1,2,'sym'); B=zeros(1,2,'sym'); series(x,t)=sym(zeros(1,1)); U(1)=(r-1)/((1+...
2 years 前 | 1 个回答 | 0
1
个回答提问
symbolic error in calculation
syms x syms a syms t syms f % f fractional order syms r % r cut % syms m % m=0.7; U=zeros(1,2,'sym'); A=zeros(1,2,'sym...
2 years 前 | 1 个回答 | 0
1
个回答提问
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(...
2 years 前 | 1 个回答 | 0
1
个回答提问
gamma function error in calculation
% Starting value The above formula is coded as follows: syms x a Y=sym(zeros(1)); Y(1)=0; a=1/2 for i=1:4 if i==...
2 years 前 | 1 个回答 | 0
1
个回答提问
error in logical calculation
syms x a Y=sym(zeros(1)); Y(1)=0; a=1/2 for i=1:4 if i==5 A=1 else A=0 end if i==4 ...
2 years 前 | 1 个回答 | 0
1
个回答提问
Error in fsolve function
syms x a series(x)=sym(zeros(1)); Y=sym(zeros(1)); m=sym(1); Y(1)=0; Y(2)=a; %N=input ('enter the number of coefficient re...
2 years 前 | 1 个回答 | 0
1
个回答提问
recurrence relation calculation comparison error
I dont get the idea how to calculate the recurrsive relation .I started with following code but got stuck in the for loop syms...
2 years 前 | 0 个回答 | 0
0
个回答提问
double error syms code
syms x t a %a=1/2; N=3; U=zeros(1,2,'sym'); A=zeros(1,2,'sym'); B=zeros(1,2,'sym'); series(x,t)=sym(zeros(1,1)); U(1)=si...
3 years 前 | 1 个回答 | 0
1
个回答提问
vpa command to display into digit
syms x t U=zeros(1,2,'sym'); series1(x,t)=sym(zeros(1,1)); for k=1:10 U(k)=(-x)^k-1/(factorial(k)); end for k=1:9 ser...
3 years 前 | 1 个回答 | 0
1
个回答提问
plot 3 D graph when dimension of matrices doesn't agree
x=0:10:400; t=0:0.5:6; u=[2.22044604925031e-16 0.0166288189049042 0.0642880296655506 0.136295894416653 0.221516183372431 0.304...
3 years 前 | 1 个回答 | 0
1
个回答提问
three dimensional graph for given data
I use the following code to draw 3 D graph but the plot is not correct x=0:0.1:1 t=0:0.001:0.01 c=[ 1.0, 1.00200400935774, ...
3 years 前 | 1 个回答 | 0
1
个回答已回答
combining two different codes
Thanks for your ans Its working .Can you tell me why inline commond does work?
combining two different codes
Thanks for your ans Its working .Can you tell me why inline commond does work?
3 years 前 | 0
提问
for recursive formula index value
I was coding the formual The summation runs for l=0 to k I write the following code : syms x syms a T=zeros(1,10,'sym') ...
3 years 前 | 1 个回答 | 0
1
个回答提问
combining two different codes
%%%%%%%%%%%%%%%%% 1 code %%%%%%%%%%% syms a P1=1 P2=3 U(1)=1; U(2)=a; for k=1:10 B=0; for i=1:k B=sim...
3 years 前 | 2 个回答 | 0
2
个回答提问
problem with f surf
f1 = @(x,t) 0.7*(1-tanh((0.7/2)*((x)-0.7*(t)))) syms x n syms t U=zeros(1,2,'sym'); A=zeros(1,2,'sym'); B=zeros(1,2,'sym'...
3 years 前 | 1 个回答 | 0