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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 전 | 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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 ...
거의 9년 전 | 답변 수: 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...
거의 9년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 1 | 0

