# AM

**Statistics**

**MATLAB Answers**

**19** Questions

**0** Answers

RANK**120,301**

of 273,285

REPUTATION**0**

CONTRIBUTIONS

**19** Questions

**0** Answers

ANSWER ACCEPTANCE **
78.95%
**

VOTES RECEIVED**0**

RANK

of 18,452

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 122,682

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

Scaling variables for integration with ode15s

Hello, I am integrating a set of differential equations with ode15s and some of my variables have very different orders of magn...

5 months ago | 1 answer | 0

### 1

answerQuestion

Constrained dynamic optimization with fmincon

Hello, I am trying to use fmincon to solve a dynamic optimization problem: where u are my control variables, x are my state...

6 months ago | 1 answer | 0

### 1

answerQuestion

Unable to meet integration tolerances without reducing the step size below the smallest value allowed

Hello, I am integrating a series of ODEs and I run into the following warning that stops the integration: Warning: Failure a...

1 year ago | 1 answer | 0

### 1

answerQuestion

Readability of matlab code

Hi, I am coding using matlab and have many functions, some of which have more than a dozen input arguments. The majority of th...

2 years ago | 4 answers | 0

### 4

answersQuestion

Vectorize the loops within the function

Hi, I am trying to create a function for Lagrange's interpolation and I wanted to know if there is a way to vectorize it that ma...

3 years ago | 1 answer | 0

### 1

answerQuestion

ode15s unable to meet integration

Hello, I am modeling a continously stirred reactor and some chemical reactions and trying to do a cyclic process, i.e. feed the...

3 years ago | 0 answers | 0

### 0

answersQuestion

question about vectorization using indexes

Hello, I am trying to do the following operations in matlab but I have a problem with how to properly write my code using vector...

3 years ago | 3 answers | 0

### 3

answersQuestion

sparse matrix operations to gain efficiency

[EDITED] Hello, I've never really used sparse matrices before but I was wondering if it would be useful in my case to imporve...

3 years ago | 1 answer | 0

### 1

answerQuestion

Concatenate cells containing strings

Hello, I need to concatenate cells to obtain new strings within a new cell array. For example I have cells A and B A={'hel...

4 years ago | 1 answer | 0

### 1

answerQuestion

Split character arrays at given column

Hello I have the following character array, val = 3×79 char array ' 0.24971474E+01 0.17808300E-02-0.78001300E-06 ...

4 years ago | 1 answer | 0

### 1

answerQuestion

match values of cells to numbers

Hello, I have the following cell cell = 6×6 cell array {' A'} {'B' } {0×0 double} {0×0 double} ...

4 years ago | 1 answer | 0

### 1

answerQuestion

minimization fmincon with ode

Hello, I am using fmincon to fit my model to data. I have a set of differential equations that give me the model results: dy...

4 years ago | 1 answer | 0

### 1

answerQuestion

set fmincon function tolerance

Hello, I am using fmincon and I want to set the function tolerance and I thought that it meant that if |f(xi) – f(xi+1)| < Tol...

4 years ago | 1 answer | 0

### 1

answerQuestion

Optmization with fmincon using an external software

Hello, I have a problem and I do not know how to solve it. I’ll try my best in explaining. I am optimizing an objective func...

4 years ago | 0 answers | 0

### 0

answersQuestion

fprintf break line different arrays

[Edited] I use 2 arrays here as examples but I actually have several I have the following arrays: a=[1 2 3 4 5 6 7 8 ...

4 years ago | 1 answer | 0

### 1

answerQuestion

add blank spaces in cell array

I have the following array ar= 0 1 0 0 0 0 0 0 0 0 0 0...

4 years ago | 2 answers | 0

### 2

answersQuestion

Concatenate rows of cell into one column

Hello, I have one cell A of size nxm and I would like to convert it into a cell of size nx1. For example if A= { [1] [2...

4 years ago | 2 answers | 0

### 2

answersQuestion

Vectorization of a nestled loop

I am trying to improve the overall performance of my code and I am learning about vectorization. I've read the documentation...

4 years ago | 1 answer | 0

### 1

answerQuestion

Add values to vector

I have the following vectors A and B A= [20 80 -1 0.1 0.05 0.25 0.13 0.12 0.35 21 70 -1 0.1 0.2 0....

4 years ago | 2 answers | 0