solve matlab ode system inside simulink subsystem
Hi, I have a matalb ODE code, that solves a set of differential equations. I want to put all inside a simulink subsystem, and e...
meer dan een jaar ago | 1 answer | 0
Command "matlab.io.saveVariablesToScript" max memory/elements
Hi all, I am using the matlab command matlab.io.saveVariablesToScript In order to save my output in .m file instead of .mat (i...
meer dan 2 jaar ago | 1 answer | 1
how to fix a value in a function during an ode integration, that does not change during the integration
hi all, I have to fix a value during an ode integration: if z > 1000 dx = v*cos(gamma)*cos(chi); dy = v*cos(ga...
bijna 3 jaar ago | 1 answer | 0
how to insert numerical derivative in function for ode integration
Hi all, I computed the traslation dinamics of a re-entry trajecotry. Now I am adding the attitude , but I have this problem : ...
ongeveer 3 jaar ago | 0 answers | 0
impose a condition on a general value of a vector
Hi every one, I have to do an optimization ( with fmincon), where I have a constraint one the trajectory . basically I want th...
meer dan 3 jaar ago | 0 answers | 0
ode does not converge
Hi, I have the following problem with code on the sliding mode control, solving a non linear problem: running the code, I do n...
meer dan 3 jaar ago | 1 answer | 0
simulink control re entry atmosphere code
Hi, I am trying to do this simulation, is a control of a re-entry vehicle. I have a nominal trajectory that comes from an optimi...
bijna 4 jaar ago | 1 answer | 0
hi ,i have this function that ode45 integrate, the numerical integration is correct, but in the main script I have to plot the vector 'alfa', and in order to do this i have to rewrite the same code, but i need to do a cicle 'for', how is this cicle ?
function [ derivate ] = eq_moto_vincolo_q_piatto(t, X ) format long global mi m CQ T w A rho0 H R_earth beta a0 a1 b...
bijna 5 jaar ago | 0 answers | 0