# lulu

**Professional Interests:**

**Statistics**

**MATLAB Answers**

**16** Questions

**0** Answers

RANK**170,557**

of 273,525

REPUTATION**0**

CONTRIBUTIONS

**16** Questions

**0** Answers

ANSWER ACCEPTANCE **
31.25%
**

VOTES RECEIVED**0**

RANK

of 18,459

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 122,994

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Question

Array indices must be positive integers or logical values.

Hi all I have the above error, could you please help me to know the problem. THANK YOU. xl=0; xr=1; %domain[xl,xr] ...

2 months ago | 3 answers | 0

### 3

answersQuestion

error: Too many input arguments.

Acually I want to use vr(j,n),ur(j,n),ul(j,n), vl(j,n) in the loop of (i+k*ds)... how I can define vr(j,n),ur(j,n),ul(j,n), vl(...

3 months ago | 0 answers | 0

### 0

answersQuestion

no sinusoidal perturbation, the initial condition does not appear in the result, I could not figure out the problem.

I have problem that the initial condition fr = 0.05 +0.0001*(1+sin(k*x));fl,.. and the others did not show any sinusoidal pertur...

3 months ago | 0 answers | 0

### 0

answersQuestion

how we write summation with loop

Hi all, I implemneted the following in Matlab: but I have error with the summation notation(kindly see the attached file). Than...

4 months ago | 2 answers | 0

### 2

answersQuestion

I have error when I applied trapezoidal rule

This is my code, I could not figure out the error. clear all; xl=0; xr=1; %domain[xl,xr] ...

5 months ago | 1 answer | 0

### 1

answerQuestion

Trapezoidal rule for integral function

I need to apply trapezoidal rule for this Function and put it inside that tanh : F=1-b*integral{K(s) v(x+s)}+d*integral{K(s)...

5 months ago | 1 answer | 0

### 1

answerQuestion

trapezoidal rule for integral function

I need to use this rule for the following function, I tried but I obtained error, here the code and in the butom I show a functi...

6 months ago | 0 answers | 0

### 0

answersQuestion

how I can add this condition inside the loop if k= (1-b(g(j)+g(j)) if k>0 then k=(1-b(g(j)+g(j))+df(j)))else k=0

clear all; xl=0; xr=1; %domain[xl,xr] J=200; % J: number of dividion for x dx=(xr-xl)/J; ...

9 months ago | 1 answer | 0

### 1

answerQuestion

numerical simulation of travelling wave of epidemic model

i want to do the numerical simulation for the results of travelling wave where the infection speed c=sqrt(4av^2(alpha+2lambdav)(...

1 year ago | 1 answer | 0

### 1

answerQuestion

I have error when try to plot 3D for hyperbolic equation

hello every one , I have a model with u_t+u_x=0, the code is working but when I tried to plot it as 3d I got error. Please I wan...

2 years ago | 1 answer | 0

### 1

answerQuestion

periodic boundary conditions for advection for a<0

The following shows the codes for advection of population move to right and left . I got the correct BCs for right moving that I...

2 years ago | 1 answer | 0

### 1

answerQuestion

How I write periodic BCs

clear all; xl=0; xr=1; %domain[xl,xr] J=40; % J: number of dividion for x dx=(xr-xl)/J; ...

2 years ago | 0 answers | 0

### 0

answersQuestion

How I can implement the advection model with PCs

The model is {u_t}^{+} +{\gamma}{u_x}^{+}= \lambda(v)(u^{-}-u^{+})-\beta{u^+}{v} {u_t}^{-} -{\gamma}{u_x}^{-}= \lambda(v)(...

2 years ago | 0 answers | 0

### 0

answersQuestion

error when i want to run it

function linearAdvection_JA clear % Clears workspace clc % Clears history clf % Clears figure window N = 101; % Define...

3 years ago | 1 answer | 0

### 1

answerQuestion

how i can write periodic boundary condition

clear clc xmin=0; xmax=1; N=10; dt=0.001; t=0; tmax=0.5; a=0.1; L=2; dx=(xmax-xmin)/N; x=xmin-dx:dx:xmax+dx; u0=exp...

3 years ago | 0 answers | 0

### 0

answersQuestion

how i can solve the following PDE using periodic boundry coditions

clear all,close all x=linspace(0,1,50); t=linspace(0,1,50); m=0; eqn=@(x,t,u,dudx)transistorPDE(x,t,u,dudx,C); ic=@(x)tra...

3 years ago | 1 answer | 0