
yogeshwari patel
Content Feed
질문
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) %%%%%%%%%%%%%%%%%%%%%%...
4개월 전 | 답변 수: 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...
4개월 전 | 답변 수: 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 + ...
4개월 전 | 답변 수: 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...
6개월 전 | 답변 수: 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)...
9개월 전 | 답변 수: 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...
10개월 전 | 답변 수: 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+...
10개월 전 | 답변 수: 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...
10개월 전 | 답변 수: 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(...
대략 1년 전 | 답변 수: 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==...
1년 초과 전 | 답변 수: 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 ...
1년 초과 전 | 답변 수: 0 | 0
0
답변질문
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...
1년 초과 전 | 답변 수: 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...
1년 초과 전 | 답변 수: 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...
1년 초과 전 | 답변 수: 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...
1년 초과 전 | 답변 수: 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...
거의 2년 전 | 답변 수: 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, ...
거의 2년 전 | 답변 수: 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?
대략 2년 전 | 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') ...
대략 2년 전 | 답변 수: 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...
2년 초과 전 | 답변 수: 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'...
2년 초과 전 | 답변 수: 1 | 0
1
답변질문
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+...
2년 초과 전 | 답변 수: 1 | 0
1
답변질문
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'); ...
2년 초과 전 | 답변 수: 1 | 0