photo

yogeshwari patel


Last seen: etwa ein Monat vor Aktiv seit 2021

Followers: 0   Following: 0

Statistik

  • Thankful Level 3

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


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 ...

etwa 2 Monate vor | 2 Antworten | 0

2

Antworten

Frage


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 Monate vor | 1 Antwort | 0

1

Antwort

Frage


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 Monate vor | 1 Antwort | 0

1

Antwort

Frage


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 Monate vor | 1 Antwort | 0

1

Antwort

Frage


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 Monate vor | 1 Antwort | 0

1

Antwort

Frage


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 Monate vor | 0 Antworten | 0

0

Antworten

Frage


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 Monate vor | 2 Antworten | 0

2

Antworten

Frage


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 Monate vor | 1 Antwort | 0

1

Antwort

Beantwortet
how to use the subs syntax for the two variable
Thank you

mehr als ein Jahr vor | 0

Frage


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) %%%%%%%%%%%%%%%%%%%%%%...

mehr als ein Jahr vor | 2 Antworten | 0

2

Antworten

Frage


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...

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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 + ...

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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...

mehr als ein Jahr vor | 2 Antworten | 0

2

Antworten

Frage


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)...

fast 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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...

fast 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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+...

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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...

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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(...

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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==...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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 ...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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...

mehr als 2 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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...

fast 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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...

fast 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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...

fast 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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, ...

fast 3 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
combining two different codes
Thanks for your ans Its working .Can you tell me why inline commond does work?

mehr als 3 Jahre vor | 0

Frage


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') ...

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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...

mehr als 3 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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'...

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Mehr laden