# Robert Demyanovich

**Statistics**

RANK**180,922**

of 239,132

REPUTATION**0**

CONTRIBUTIONS

**15** Questions

**0** Answers

ANSWER ACCEPTANCE **
60.0%
**

VOTES RECEIVED**0**

RANK

of 16,799

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Question

if statement with greater than and less than

The following doesn't seem to be working as intended: if 0 <= MBPosition <= 2*Delta ; Even though MBPosition is within the ran...

1 month ago | 2 answers | 0

### 2

answersQuestion

if statement for two arrays

I am programming a chemical reaction. I want to make sure that the amount of product produced does not exceed the amount of ava...

1 month ago | 1 answer | 0

### 1

answerQuestion

Run "if" logic on a row

I have the following code for the reaction interface between acid and base (A-acid, B-base,S-salt): dS=k1*cA(i+1,:).*cB(i+1...

1 month ago | 1 answer | 0

### 1

answerQuestion

Matlab less than comparison

The Matlab documentation is confusing me. I want to test each cell in a specific row of an array (cA). If that cell has a valu...

1 month ago | 2 answers | 0

### 2

answersQuestion

Include value requirement in array multiplication

I currently have the following line of code: dS=k1*cA(i+1,:).*cB(i+1,:)*dt dS is the amount of product S resulting from a reac...

1 month ago | 2 answers | 0

### 2

answersQuestion

if statement with ge and &

I don't understand why the following line is producing an error: if j ge 2 & cANALY(i+1,j-1) < 0 j is a scalar and cANALY(...

1 month ago | 1 answer | 0

### 1

answerQuestion

"Highlight" a vertical gridline on a figure

I have a figure where the range of x values starts at a negative value and goes to a positive value. I would like to "highlight...

1 month ago | 1 answer | 0

### 1

answerQuestion

set xticks by calculation but also force 0 to be displayed

I am setting xticks manually based on user inputs for distance. The plot will span the distance range; for example -1.3E-06 to ...

1 month ago | 2 answers | 0

### 2

answersQuestion

string for figure title ignores text after variable

I have the following code while creating a figure: titlestr=sprintf('Time=%6.5f',t(1), 'sec'); title(titlestr); No error...

1 month ago | 1 answer | 0

### 1

answerQuestion

min function on two arrays

I've read the documentation on the min function, but still don't understand how it works on two arrays. I have the following: ...

2 months ago | 1 answer | 0

### 1

answerQuestion

Sum function on part of an array

I don't understand what the following sum function does. mA=zeros(M,1); mA(1)=sum(cA(1,:))*dx; mA is a column vector, s...

2 months ago | 1 answer | 0

### 1

answerQuestion

Initializing 1/2 of a row with one value and the other half with another

I don't understand why the following works. It initializes row 1 of the array c with values of 1 in roughly the first half of t...

2 months ago | 2 answers | 0

### 2

answersQuestion

Find the first element of a column in a matrix that has a value equal to zero

I have an m by n matrix and I'm interested in the nth column. Initially all of the values in the nth column are greater than ze...

2 months ago | 1 answer | 0

### 1

answerQuestion

How to code an instantaneous reaction in Matlab

I have two slabs adjacent to one another. One contains acid and one contains base. The reaction at the interface in instantane...

2 months ago | 2 answers | 0

### 2

answersQuestion

Can Matlab be used to solve a moving boundary problem

I'm trying to determine the neutralization time (tn) of strong acid and strong base. Strong acid, A, is initially in a slab of t...

2 months ago | 0 answers | 0