photo

yogeshwari patel


Last seen: 11 Tage vor Aktiv seit 2021

Followers: 0   Following: 0

Statistik

  • Thankful Level 3

Abzeichen anzeigen

Feeds

Anzeigen nach

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

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

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

7 Monate vor | 1 Antwort | 0

1

Antwort

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

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

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

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

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

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

mehr als ein Jahr 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...

mehr als ein Jahr 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+...

mehr als ein Jahr 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...

mehr als ein Jahr 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(...

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

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

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

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

mehr als 2 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...

mehr als 2 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...

mehr als 2 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, ...

mehr als 2 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?

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

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

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

etwa 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


index error is appearing for last line
U=zeros(1,2,'sym'); B=zeros(10,'sym'); U(1)=1; U(2)=a; for k=1:10 B(1)=0; for i=1:k B(1)=B(1)+U(i)*U(k-i+...

etwa 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Difference of the two functions
I wrote the text for the two function as : U=zeros(1,2,'sym'); A=zeros(1,2,'sym'); B=zeros(1,2,'sym'); C=zeros(1,2,'sym'); ...

etwa 3 Jahre vor | 1 Antwort | 0

1

Antwort