Community Profile

photo

Elia Paini


Last seen: 19 días ago Active since 2021

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

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

26 días ago | 0 answers | 0

0

answers

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

29 días ago | 1 answer | 0

1

answer

Question


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

alrededor de 1 mes ago | 0 answers | 0

0

answers

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

5 meses ago | 1 answer | 0

1

answer

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

5 meses ago | 1 answer | 0

1

answer

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

10 meses ago | 2 answers | 0

2

answers

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

alrededor de 1 año ago | 2 answers | 0

2

answers

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

alrededor de 1 año ago | 1 answer | 0

1

answer

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

alrededor de 1 año ago | 2 answers | 0

2

answers

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

alrededor de 1 año ago | 0 answers | 0

0

answers

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

alrededor de 1 año ago | 0 answers | 0

0

answers

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

más de 1 año ago | 0 answers | 0

0

answers

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

más de 1 año ago | 1 answer | 0

1

answer

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

más de 1 año ago | 0 answers | 0

0

answers

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

más de 1 año ago | 1 answer | 0

1

answer

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

más de 1 año ago | 0 answers | 0

0

answers

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

más de 1 año ago | 1 answer | 0

1

answer

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

más de 1 año ago | 0 answers | 0

0

answers

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

más de 1 año ago | 0 answers | 0

0

answers

Question


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

más de 1 año ago | 1 answer | 0

1

answer

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

más de 1 año ago | 1 answer | 0

1

answer

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

más de 1 año ago | 1 answer | 0

1

answer

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

más de 1 año ago | 1 answer | 0

1

answer