Community Profile

photo

Rachel Ong


Last seen: 1 dag ago Active since 2021

Statistics

  • Thankful Level 1

View badges

Content Feed

View by

Question


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...

4 dagen ago | 1 answer | 0

1

answer

Question


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...

11 dagen ago | 1 answer | 0

1

answer

Question


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...

20 dagen ago | 0 answers | 0

0

answers

Question


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] = ...

ongeveer 2 maanden ago | 1 answer | 0

1

answer

Question


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 ...

3 maanden ago | 1 answer | 0

1

answer