photo

AM


Last seen: 4 Monate vor Aktiv seit 2018

Followers: 0   Following: 0

Statistik

  • Thankful Level 3

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


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

fast 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 3 Jahre vor | 4 Antworten | 0

4

Antworten

Frage


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

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 4 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

fast 5 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


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

etwa 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 5 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

mehr als 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


add blank spaces in cell array
I have the following array ar= 0 1 0 0 0 0 0 0 0 0 0 0...

mehr als 5 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 5 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

fast 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 6 Jahre vor | 2 Antworten | 0

2

Antworten