YOGESHWARI PATEL
Followers: 0 Following: 0
Feeds
질문
loop calculation and skipping the numbers
d=20; h=2; g=9.8; u=zeros(1) v=zeros(1) for x=[1 6 11 16 21 ] for t=[1 6 11 16 21 26 31] u(x,t)=h*sqrt...
거의 3년 전 | 답변 수: 1 | 0
1
답변질문
symbolic calculation in MATLAB
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 series...
거의 3년 전 | 답변 수: 1 | 0
1
답변질문
Integration with arbitrary constant
Question 1 : I want to intgerate f(x)=x-a where a is some artitrary constant I use the MATLAB code fun=(2) x-a ans=intgeral(...
거의 3년 전 | 답변 수: 1 | 0
1
답변질문
symbolic calculation for series
syms x t U=zeros(5) for k=1:5 if mod(k,2)~=0 U(k,1)=0 else U(k,1)=(((-1)^(k-2))/factorial(k))*sym(...
대략 3년 전 | 답변 수: 2 | 0
2
답변질문
symbolic calculation error in code
syms x n syms t % syms m % m=0.7; U=zeros(1,2,'sym'); A=zeros(1,2,'sym'); B=zeros(1,2,'sym'); U(1)=exp((sqrt(2)*x)/4)/...
3년 초과 전 | 답변 수: 1 | 0
1
답변질문
what the value of array in decimal
F(1)=0; F(2)=1; F(3)=-5; for k=1:10 A=0; for m=1:k A=A-2*a1*Re*F(m)*(k-m+1)*F(k-m+2); end ...
3년 초과 전 | 답변 수: 1 | 0
1
답변질문
problem with symbolic calculation
I want symbolic calculation .I write the code but error is displayed syms a syms R n=input('enter the value of n') F(1)=1;...
3년 초과 전 | 답변 수: 2 | 0
2
답변질문
coding for recursive formula
I write the code for the recurive formula first code i wrote give me wrong answer.The code is as follows: c1(1)=0; c2(1)=0; ...
4년 초과 전 | 답변 수: 1 | 0
1
답변질문
I had write the function for find the difference of maximum and minimum from each martix row and express it as matrix .
function [mmr mmm]= minimax (A) mmr=[abs(max(A(1:end,:))-min(A(1:end,:)))] %mmr=[abs((max(A(1,:))-min(A(1,:)))),abs((max(A(2,:...
4년 초과 전 | 답변 수: 1 | 0
1
답변질문
i want to display my answer in table format with heading for the numerical method .the following is the code .but it does diaplay in proper table
f= inline('x^3-2*x-5','x') a=input('enter the lower value='); b=input('enter the upper value='); fa=feval(f,a);% to evalulate...
6년 초과 전 | 답변 수: 0 | 0
0
답변질문
I wrote the code but still the answer is not correct using delta function
the two recursive formula are as follows: C(k,h+1)=D1*(k+2)*(k+1)*C1(k+2,h)+lambda*omega*dirac delta(k,h)-lambda C1(k,h)-k2*(...
7년 초과 전 | 답변 수: 1 | 0
1
답변질문
I wrote the code for the following recursive formula but my answer is not correct.Can any one tell me mistake and do the correction .If any correction mention in detail .
C(i,j+1)=D_0*(k+2)*(k+1)*C(k+2,h)+2*D_0*a*(summ(r=0 to k)(sum(s=0 to h)delta(r-1,h-s)*(k-r+1)*(k-r+2)*C(k-r+2,s)+a*D_0*a*(summ(r...
7년 초과 전 | 답변 수: 0 | 0
0
답변질문
WHAT TO GRAPH USING ELEMENTWISE MULTIPLCATION
i WANT TO PLOT THE GRAPH FOR U(X,T)=EXP(-4*PI^2*0.5*y)*SIN(2*PI*x) AS PER THE SUGGESTION GIVEN ON MATHWORK I WROTE THIS ...
7년 초과 전 | 답변 수: 1 | 0
1
답변질문
x = linspace(-10,10 ,51)'; y = linspace(0,0.3,51)'; [X, Y] = meshgrid(x, y); Z=X/(1+Y); surf(X, Y, Z); ylabel('t'); xlabel('x'); zlabel('u(x,t)').this is showing error .Now I want to know that the z=f(x)/g(x) why the code is not running
x = linspace(-10,10 ,51)'; y = linspace(0,0.3,51)'; [X, Y] = meshgrid(x, y); Z=x/(1+y); surf(X, Y, Z); ylabel('t'); xla...
7년 초과 전 | 답변 수: 1 | 0
1
답변질문
I wrote the code to plot two dimension graph but it is not showing the correct graph.So can you check and tell me where the mistake is in the code.
ploting two dimensional graph for u(x,t)=x*exp(-t)+exp(-x) x=linspace(0,1,6); y=linspace(0,1,6); [X Y]=meshgrid(x...
7년 초과 전 | 답변 수: 2 | 0
2
답변질문
how to add for loop within the for loop if indices are depended on each other
i already posted my question but as i am a new user i could get the answer suggested.so i am again posting my question but i dif...
거의 8년 전 | 답변 수: 0 | 0
0
답변질문
I want the coding for double summationI wrote the following code but my answer is not correct.
My whole formula is C(k,h+1)=A*(k+1)*C(k+1,h)-B*C(k,h)+D*(k+2)*(k+1)C(k+2,h)+2*a*D*(summation(r=0 to k)summation (s=0 to h)...
거의 8년 전 | 답변 수: 1 | 0
1
답변질문
I write the code for double summation.The out put is wrong so what is problem in my logic
I want coding for double summation (r=0 to k)(s=0 to h) kroneckerDelta(r-1,h-s)*(k-r+1)*(k-r+2)C(k-r+2,s).K,h varies from 0,1,2,...
거의 8년 전 | 답변 수: 0 | 0
0
답변질문
how to insert double summation in the following equation
my whole formula is C(i,j+1)=-e(i+1)C(i+1,j)-fC(i,j)+Dsummation(r=0 to k)summation(s=0 to h) (M^s/s!)*(k+1)(k+2)C(k+2,h-s) ...
거의 8년 전 | 답변 수: 0 | 0
0
답변질문
I wrote the code for double summation in two dimensional but its showing lots of error.Kindly check the attachment.
i want double summation example in two dimensional transform.I try for many code but its not working.What kind of double summati...
거의 8년 전 | 답변 수: 0 | 0
0
답변질문
What is syntax of Kronecker Delta in MATLAB Version R2013a
As per suggestion i wrote the following code but still it is showing the error "double type error". for i=1:1:n+5 C1(1,1)=...
거의 8년 전 | 답변 수: 1 | 0
1
답변질문
How to calculate the value of polynomial value for 150 coefficient.It is not possible to use polyval function.
I try this for k=1:150 x=x1(k); fprintf('============') sum1=0; b=0; for i=1:2 b...
거의 8년 전 | 답변 수: 1 | 0
1
답변질문
How to use kroneckerdelta in programming
I want to use the Kroneckerdelta function in my programming.I also check the syntax for it. It is given as kroneckerDelta(m,n)...
거의 8년 전 | 답변 수: 2 | 0
2
답변질문
I want the matlab coding for the following summation plz check the attach file.make comment for each line for under standing
double summantion in two dimension
대략 8년 전 | 답변 수: 0 | 0
0
답변질문
T_1(i,0)=1/factorial(i) i=0,1,2,3,4…….. T_2(i,0)=1/factorial(i) 1 _1( , 1) ( 1) _1(k 1,h) _ 2( , ) _1( , ) 1 _ 2( , 1) ( 1) _ 2(k 1,h) _ 2( , ) _1( , ) h T k h A k T B T k h T k h h T k h c k T D T k h T k h
I WANT A MATHLAB CODING FOR THE ABOVE .
대략 8년 전 | 답변 수: 0 | 0
0
답변질문
I want the matlab coding for the following attachement
kindly check the for loop my answers are not correct. A=2.79 B=0.092 D=80.74 c=2
대략 8년 전 | 답변 수: 0 | 0
0
답변질문
how to calculate the two dimensional recursive formula
i have attach the file for which i want math lab code.I already write the code but only one column is correct rest all value are...
대략 8년 전 | 답변 수: 0 | 0
0
답변질문
how to use ode45 or ode23 to solve the system of differential equation with initial condition .explain each and every step in detail
For example du/dt=3u-v; dv/dt=u-3v; initial condition u(0)=0,v(0)=0.5
8년 초과 전 | 답변 수: 0 | 0
0
답변질문
i want to Matlab programm for fourth order Runge Kutta method for coupled system of differential equation
i want the rk method ode for the attach file.explain each and every step of code.
8년 초과 전 | 답변 수: 0 | 0
0
답변질문
how to calculate u(x,t)=exp(t-x) for 0<x<1, 0<t<1.by taking increment of 0.1.also draw two dimensional graph of u w.r.t x and t.Draw three dimensional graph.
explain each step in detail.
8년 초과 전 | 답변 수: 0 | 0