Feeds
提问
Solving partial differential equation with variable coeffcients
Hi all, Can we solve pde of the form using the pde tool bok of MATLAB? Note that A and B are functions of x.
5 years 前 | 0 个回答 | 0
0
个回答提问
All solutions are NaN in my Method of lines code. Please help.
Dear all, I am trying to implement Method of lines (MOL) to solve my transient PDE. My solutions are all NaN except for the ini...
6 years 前 | 0 个回答 | 0
0
个回答提问
Problem with finite difference method.
I am trying to implement Finite difference method. I created the tri diagonal matrix, then solved using the command y=A\b. But t...
6 years 前 | 0 个回答 | 0
0
个回答已回答
Confusion on event function
In Walter's code, we need to guess the end time? I mean do we need to guess the time when the first event would occur?
Confusion on event function
In Walter's code, we need to guess the end time? I mean do we need to guess the time when the first event would occur?
7 years 前 | 1
提问
Confusion on event function
Hi all, I want to incorporate an event into my ode45 code. The event is that every time the value y reaches 1 (initial condition...
7 years 前 | 2 个回答 | 1
2
个回答提问
Is there any way I can ensure that the numbers generated in ode45 are positive?
Here is my code. Many numbers generated in the solution are negative and there are a lot of NaNs too. %setting up th...
7 years 前 | 0 个回答 | 0
0
个回答提问
Dear all, Help needed.
I have a data which I have generated as a solution to an ODE. It contains information about the states of 10 oscillators at vari...
7 years 前 | 0 个回答 | 0
0
个回答提问
Is it possible to multiply a 3D matrix with a coumn vector?
I have a 3D matrix with three rows and three columns. I want to multiply this matrix with a column vector of 3 rows. How can it ...
8 years 前 | 4 个回答 | 0
4
个回答提问
Evaluating a matrix at different time steps
Dear all, I have a matrix which is a transition matrix. I need to calculate the time evolution of the associated probability di...
8 years 前 | 2 个回答 | 0
2
个回答提问
Dear all, what is the meaning of including number of iterations within ode45 syntax?
What is the meaning of the followig command? [t,theta]=ode45(@F,tbegin,tEnd,thetaInit,nIters,p) ...
9 years 前 | 1 个回答 | 0
1
个回答提问
Solving systems of n ODEs in matlab.
Hi all, I am trying to simulate Kuramoto oscillators in matlab. I have simulated systems with 3 equations(such as Lorenz eqns, R...
9 years 前 | 0 个回答 | 0
0
个回答提问
Not enough input arguments ode45
Hi all, I have been trying to understand the use of ode solvers in MATLAB. In the process, I started with first order equations...
9 years 前 | 1 个回答 | 0