photo

yogeshwari patel


Last seen: 8 days ago Active since 2021

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


logical index issue in for lloop
syms x t real mu=(1/16)^4 m=(cos(x)+1i*sin(x))/(1+((1/mu)^4-1)*(cos(4*t)+1i*sin(4*t))); n=real(m) x=0.2:0.2:0.8 t=0.1:0.4:0...

10 days ago | 1 answer | 0

1

answer

Question


complex number representation as real and imaginary part
syms x real syms t real e=cos(x)+1i*sin(x) real(e) u=(cos(x)+1i*sin(x))/((1+((1/(0.1)^4)-1)*(cos(4*t)+1i*sin(4*t)))) v=s...

12 days ago | 1 answer | 0

1

answer

Question


complex number : real part and imaginary part
syms x mu syms t %c alpha=1 U=zeros(1,1,'sym'); A=zeros(1,1,'sym'); B=zeros(1,1,'sym'); C=zeros(1,1,'sym'); D=zeros(1,1,...

15 days ago | 1 answer | 0

1

answer

Question


the array index is not matching
syms x mu gamma syms t %c alpha=1 U=zeros(1,2,'sym') V=zeros(1,2,'sym'); A=zeros(1,1,'sym'); B=zeros(1,1,'sym'); C=zero...

20 days ago | 1 answer | 0

1

answer

Question


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 ago | 2 answers | 0

2

answers

Question


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

4 months ago | 1 answer | 0

1

answer

Question


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

4 months ago | 1 answer | 0

1

answer

Question


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

4 months ago | 1 answer | 0

1

answer

Question


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

4 months ago | 1 answer | 0

1

answer

Question


for double for loop error
syms x t%a g d l1 m1 %%%%%%%%%%%%%%%% Fractional Order% alpha=2; beta=1; %%%%%%%%%%%% initilization of variable%%%%%% U=zer...

7 months ago | 0 answers | 0

0

answers

Question


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

1 year ago | 2 answers | 0

2

answers

Question


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

1 year ago | 1 answer | 0

1

answer

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

1 year ago | 0

Question


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 ago | 2 answers | 0

2

answers

Question


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 ago | 1 answer | 0

1

answer

Question


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 ago | 1 answer | 0

1

answer

Question


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 ago | 2 answers | 0

2

answers

Question


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 ago | 1 answer | 0

1

answer

Question


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 ago | 1 answer | 0

1

answer

Question


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 ago | 1 answer | 0

1

answer

Question


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 ago | 1 answer | 0

1

answer

Question


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 ago | 1 answer | 0

1

answer

Question


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 ago | 1 answer | 0

1

answer

Question


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 ago | 1 answer | 0

1

answer

Question


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 ago | 1 answer | 0

1

answer

Question


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

3 years ago | 0 answers | 0

0

answers

Question


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 ago | 1 answer | 0

1

answer

Question


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 ago | 1 answer | 0

1

answer

Question


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 ago | 1 answer | 0

1

answer

Question


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 ago | 1 answer | 0

1

answer

Load more