Community Profile # YOGESHWARI PATEL

Last seen: 1 year ago Active since 2016

#### Statistics

• #### Content Feed

View by

Question

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

1 year ago | 1 answer | 0

### 1

Question

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

1 year ago | 1 answer | 0

### 1

Question

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

1 year ago | 1 answer | 0

### 1

Question

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

1 year ago | 2 answers | 0

### 2

Question

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

2 years ago | 1 answer | 0

### 1

Question

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

2 years ago | 1 answer | 0

### 1

Question

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

2 years ago | 2 answers | 0

### 2

Question

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

3 years ago | 1 answer | 0

### 1

Question

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

3 years ago | 1 answer | 0

### 1

Question

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

4 years ago | 0 answers | 0

### 0

Question

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

6 years ago | 1 answer | 0

### 1

Question

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

6 years ago | 0 answers | 0

### 0

Question

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

6 years ago | 1 answer | 0

### 1

Question

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

6 years ago | 1 answer | 0

### 1

Question

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

6 years ago | 2 answers | 0

### 2

Question

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

6 years ago | 0 answers | 0

### 0

Question

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

6 years ago | 1 answer | 0

### 1

Question

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

6 years ago | 0 answers | 0

### 0

Question

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

6 years ago | 0 answers | 0

### 0

Question

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

6 years ago | 0 answers | 0

### 0

Question

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

6 years ago | 1 answer | 0

### 1

Question

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

6 years ago | 1 answer | 0

### 1

Question

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

6 years ago | 2 answers | 0

### 0

Question

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

6 years ago | 0 answers | 0

### 0

Question

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

6 years ago | 0 answers | 0

### 0

Question

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

7 years ago | 0 answers | 0