roya afshar
自 2018 起处于活动状态
Followers: 0 Following: 0
Feeds
提问
ode45 returns NAN, HOW could I modify it?
clear clc [t,x]=ode45(@eqns,[0.1:0.2:100],[10;0.01;100;-0.0225;10;-0.01]); for i=1:6 plot(t,x(:,i)) hold on end function ...
6 years 前 | 2 个回答 | 0
2
个回答提问
I don't have output in my extended kalman filter in simulink and also no error I receive one warning diagnostic viewer. how could I find the problem?
the warning is:
6 years 前 | 0 个回答 | 0
0
个回答已回答
I have a set of second order differential nonlinear equation and I want to solve them together with ode45, how could I write codes for them?or better to say I want to define state transition function for such equations.
function dxdt = eqns(x) one = 7:9; two = 10:12; dxdt = [x(2); x(4)+x(5)+x(1)-(x(1)/((x(1)^2+x(3)^2+x(5)^2)^1.5))+1; ...
I have a set of second order differential nonlinear equation and I want to solve them together with ode45, how could I write codes for them?or better to say I want to define state transition function for such equations.
function dxdt = eqns(x) one = 7:9; two = 10:12; dxdt = [x(2); x(4)+x(5)+x(1)-(x(1)/((x(1)^2+x(3)^2+x(5)^2)^1.5))+1; ...
6 years 前 | 0
提问
I have a set of second order differential nonlinear equation and I want to solve them together with ode45, how could I write codes for them?or better to say I want to define state transition function for such equations.
first three equations all variable and constants are not in vector or matrix form but 4th equation is a 3by1 vector like this: ...
6 years 前 | 2 个回答 | 0
2
个回答已回答
solving a differential equation coupling together in matrix and vector form with ode45
clc clear x_1=[1 8 9]; x_2=[2 3 4]; x0=[x_1 x_2].'; tspan = [0 20]; one = 1:3; two = 4:6; n=[0 1 2]'; f = @(t,x) [x(two...
solving a differential equation coupling together in matrix and vector form with ode45
clc clear x_1=[1 8 9]; x_2=[2 3 4]; x0=[x_1 x_2].'; tspan = [0 20]; one = 1:3; two = 4:6; n=[0 1 2]'; f = @(t,x) [x(two...
6 years 前 | 0
| 已接受
已回答
solving a differential equation coupling together in matrix and vector form with ode45
I have solved 3 second order of differential equations by ode45 and there is no error. as a example: D2x=x+z+Dx+Dy D2Y=Dx+z D...
solving a differential equation coupling together in matrix and vector form with ode45
I have solved 3 second order of differential equations by ode45 and there is no error. as a example: D2x=x+z+Dx+Dy D2Y=Dx+z D...
6 years 前 | 0
提问
solving a differential equation coupling together in matrix and vector form with ode45
I have two problem: 1) I used two functions for solving a set of equation not in matrix or vector form but like [x(2);3+x(4)+x...
6 years 前 | 0 个回答 | 0
0
个回答提问
solving a differential equation coupling together in matrix and vector form with ode45
I have two problem: 1) I used two functions for solving a set of equation not in matrix or vector form but like [x(2);3+x(4)+x...
6 years 前 | 2 个回答 | 0
2
个回答提问
what are the inputs of extended Kalman filter?
Could I connect my states in simulink dirrectly to the extended Kalman filter? or I need to write function in m file?
6 years 前 | 0 个回答 | 0
0
个回答提问
I have a nonlinear high dimension system how could I write codes for this system as a function and using ode?my state is a vector with22 arrays.
I have done modelling this system with matlab simulink and I run it well. but the problem is when i want to use extended Kalman...
6 years 前 | 0 个回答 | 0