Rachel Ong
Followers: 0 Following: 0
Statistica
17 Domande
0 Risposte
RANK
91.495
of 295.467
REPUTAZIONE
0
CONTRIBUTI
17 Domande
0 Risposte
ACCETTAZIONE DELLE RISPOSTE
47.06%
VOTI RICEVUTI
0
RANK
of 153.912
CONTRIBUTI
0 Problemi
0 Soluzioni
PUNTEGGIO
0
NUMERO DI BADGE
0
CONTRIBUTI
0 Post
CONTRIBUTI
0 Pubblico Canali
VALUTAZIONE MEDIA
CONTRIBUTI
0 Punti principali
NUMERO MEDIO DI LIKE
Feeds
Domanda
Is it possible to do a search in a table for a value nearest to a number I want?
If I have an array of 100x2, is it possible to find the index of the row number nearest to a number I want? For example somethin...
oltre 2 anni fa | 2 risposte | 0
2
risposteDomanda
I keep getting the solve stops prematurely for fsolve?
Why do I keep getting this error? I think the equations are solvable though? %% ROC ESTIMATION FOR PS = 3 WITH DIFFERENT THRUS...
oltre 2 anni fa | 1 risposta | 0
1
rispostaDomanda
Is this how I find the area under my graph?
I have this code which takes too long to run so I would save you the trouble and just attach a snippet of how I plotted the grap...
oltre 2 anni fa | 1 risposta | 0
1
rispostaDomanda
Why do I get the error saying I did not assign values to a call? I did assign my values after getting them from a function though? Anyone able to help me out and explain?
I got the script as attached below. I did assign T P rho and speedsound after getting it from the loop but I am getting the erro...
oltre 2 anni fa | 3 risposte | 0
3
risposteDomanda
How do I interpolate to get the y axis values when I sub in the x axis values? My data is like a plot with no function associated to it.
I have a set of data points (an array, column 1 is for x values and column 2 is for y values) and I want to be able to sub in x ...
oltre 2 anni fa | 1 risposta | 0
1
rispostaDomanda
Hello, I am trying to solve the ODE but I have an error I do not understand how to solve. Would appreciate some help. Thank you!
I have this set of ode and I would like to solve it with ode45. I have this one variable deltae and this depends on the solution...
oltre 2 anni fa | 2 risposte | 0
2
risposteDomanda
Solving a system of nonlinear equation using steepest descent for optimal control
Hello, anyone has an example on how I should use the steepest descent algorithm to solve for optimal controls with free final ti...
quasi 3 anni fa | 1 risposta | 0
1
rispostaDomanda
Hello. Anyone knows why the fminsearch does not work. Is it the way the code is structured ?
clear all clc S = 17.1 W = 1248.5*9.81 rho = 1.225 speedsound = 340.26 h = 0 % u = x(1) % CL = x(2) % x0 = [20,0]...
quasi 3 anni fa | 1 risposta | 0
1
rispostaDomanda
Problems on bvp4c solver because of its initial guess and a singular jacobian?
Hello, I have inputted what I can into the solver but I am missing the initial guess (I do not know how to do the initial guess ...
quasi 3 anni fa | 0 risposte | 0
0
risposteDomanda
I need help understanding one line of the code for a 2pbvp. Also, anyone knows if there are other methods of writing the solinit part of the code?
I have this example here but I have problems understanding the code. If some one can help explain that to me I'll greatly ap...
quasi 3 anni fa | 1 risposta | 0
1
rispostaDomanda
Hello, when I am trying to solve my equations using dsolve, I get an empty sym for my dsolve.
The above is the equations I used to do my diferentiation wrt different states to get the hamiltonian equations for dsolve a...
quasi 3 anni fa | 1 risposta | 0
1
rispostaDomanda
Anyone knows how to solve this size compatibility issue? I got this from an example and I am trying to understand the script.
%% Solution Using Symbolic Toolbox (STB) in MATLAB Version 6.0 %% Example 2.14 pg 77 of NAIDU optimal control book --> not work...
quasi 3 anni fa | 1 risposta | 0
1
rispostaDomanda
I have an error where it says unrecognized function or variable x when using fsolve.
I have a variable that is called x(2) and I need to solve this using fsolve. However, variables like rho and speedsound are depe...
quasi 3 anni fa | 1 risposta | 0
1
rispostaDomanda
Hi, is it possible to have variables in an ode45 that varies according to another function?
This is my ode45 that I have to solve and, actually, the variables rho and speedsound (i have commented them out in the first sc...
quasi 3 anni fa | 1 risposta | 0
1
rispostaDomanda
I have an error but I dont know where it is referring to "Index exceeds the number of array elements"
This is my code for the intepreted MATLAB function on simulink function [XDOT] = RCAM_model(X,U) % ---------- State and co...
quasi 3 anni fa | 0 risposte | 0
0
risposteDomanda
I have an error I got from using fsolve but I do not understand why.
clear all; clc; W = 1248.5*9.81; S = 17.1; K = 0.05; CDe = 0.03; h = 0; [T, p, rho, speedsound] = ...
quasi 3 anni fa | 1 risposta | 0
1
rispostaDomanda
I have an invalid use of operator error
function [T p rho] = atmos(h) h1 = 17; % Height of tropopause h2 = 20; % End height of table g = 9.81; R = 287; c ...
circa 3 anni fa | 1 risposta | 0