# Elia Paini

Last seen: 1 year ago Active since 2021

Followers: 0   Following: 0

#### Feeds

View by

Question

Why trust-region algorithm is not available in Simulink?
Hi, I'm trying to link a mathlab model which solves a system of non linear equations by using fsolve and trust region algorithm,...

2 years ago | 1 answer | 0

### 1

Question

How to load parameters in different format?
Hi, I'm interested in code optimization. Since I have many parameters, vectors and matrices to be initialized in my code, I'm lo...

2 years ago | 0 answers | 0

### 0

Question

How to improve this function execution?
Hi, I have a code that includes a complex function which returns a column vector. The function can be explained in this simpli...

2 years ago | 1 answer | 0

### 1

Question

How to enable parallel computing?
Hi, I'm trying to improve fsolve execution with parallel computing, by implementing this instruction: options = optimoptions('f...

2 years ago | 0 answers | 0

### 0

Question

How to have this title graph?
Hi, I have to plot a graph displaying in the title two parameters each iteration, "cycle" and "minute", with the values after "=...

2 years ago | 1 answer | 0

### 1

Question

I need a function which returns 0 if the argument is negative
Hi, I need a function in Matlab which returns 0 if the argument is negative: f(x) = 0 if x < 0 f(x) = f(x) if x > 0 ...

2 years ago | 1 answer | 0

### 1

Question

How to switch to this graph? Mathematical question
Hi, I have a bit complicated question about a way to obtain a graph from a set of data. I have a code that return a solution o...

2 years ago | 2 answers | 0

### 2

Question

How to get this while cycle?
Hi, I'm trying to get a while cycle which checks convergence every iteration. Within the cycle, I'm solving a system which ret...

3 years ago | 2 answers | 0

### 2

Question

How can I do this iteration?
Hi, I have a simple question related to a problem. I have to make an iterative code which updates values of some hypothesized ...

3 years ago | 1 answer | 0

### 1

Question

How to solve this simple matricial system?
Hi, how can I solve this simple system in Matlab? A*u = h*G A: 4x4 u: unknowns vector, but it should be 4x1 h: scalar G...

3 years ago | 2 answers | 0

### 2

Question

How can I "simplify" the resolution of this system of odes?
Hi, as you can see in the attached file, I've a system of second order ODEs with BCs. I tried to solve it with bvp4c, firstly c...

3 years ago | 0 answers | 0

### 0

Question

How to solve a system of ODEs with BCs, without bvp4c?
Hi, I solved a system of ODEs with BCs, by using bvp4c. The system is a bit complicated, consisting of 21 non linear equations,...

3 years ago | 0 answers | 0

### 0

Question

How can I optimize initial guess of a solution?
Hi, I solved a system of non linear ODEs with bvp4c. The system is a bit complicated, since it contains 17 equations with 17 va...

3 years ago | 0 answers | 0

### 0

Question

How can I solve this system of ODEs involving both time and space?
Hi, I have this complicated system of ODEs (see attached file), whose equations depend on time and space. I have no idea how ...

3 years ago | 1 answer | 0

### 1

Question

How can I insert this boundary condition?
Hi everyone, I have an ODE system with several variables, like this: y1' = f (y1,y2) y2' = g (y1,y2) I'm solving it with...

3 years ago | 0 answers | 0

### 0

Question

How to solve this ODE system which involves these integrals?
Hi, I'm trying to solve the following (simplified) ODE system (see attached file). Where X1 and X2 are my functions, z is the i...

3 years ago | 1 answer | 0

### 1

Question

How can I improve accuracy using bvp4c?
Hi, I solved an ODEs system with BCs. The system is a bit complicated, it consists of 10 second order equations (thus, 20 first ...

3 years ago | 0 answers | 0

### 0

Question

How to plot 3 graphs in 1 figure?
Hi, I want to plot 3 graphs in one figure, arranging them two on the left and one on the right. With subplot, I managed to arra...

3 years ago | 1 answer | 0

### 1

Question

How should I get multiple solutions related to different BCs in this script?
Hi, I'm solving a system of ODEs with BCs, with bvp4c function. My simplified script is as follows: rmesh = ... ...

3 years ago | 0 answers | 0

### 0

Question

What does it represent the second vector in solinit?
Hi, I solved a system of ODEs second order with BCs with bvp4c. I have 8 variables (4 are the functions I'm interested, y(x), ...

3 years ago | 1 answer | 0

### 1

Question

Hi, I solved correctly a system of ODE second order with BCs, with the instruction bvp4c. However, I have some questions about ...

3 years ago | 1 answer | 0

### 1

Question

Solving a system of ODE with BCs
Hi, I'm trying to solve a system of 2 ODE with boundary conditions. The integration variable is r, which is the sferical coord...

3 years ago | 1 answer | 0

### 1

Question

Solving an ODE second order
Hi, I have to solve an ODE second order in Matlab, like this: a*y''(x)=b Where x is the space coordinate, a and b are costan...

3 years ago | 1 answer | 0

### 1

Question

How can I use ode15s with a tspan of two elements?
Hi, I'm using the function ode15s to solve ODE. I don't understand why, with a vector of time with only 2 elements, Matlab autom...

3 years ago | 1 answer | 0