photo

Daniel


Last seen: 3 dagar ago Active since 2023

Followers: 0   Following: 0

Statistics

All
  • Thankful Level 3
  • Solver

View badges

Feeds

View by

Question


I am having a problem implementing ode45 in a appdesigner code as well as using the uigetfile and readtable functions to read data from a file into appdesigner.
When i run the appdesigener app, the integartion gives a warning from the 82nd integartion to the last integration. Moreover i a...

3 månader ago | 0 answers | 0

0

answers

Question


I am having trouble reading textfile data into my app using uigetfile and readtable functions in appdesigner. Kindly assist
I am using a pushbutton.userdata option to read the textfiles and i am not sure if thats the right way to do it. Once the data i...

3 månader ago | 1 answer | 0

1

answer

Question


when using ode45 with the for loop, should I put the initial conditions inside or outside the for loop?
Where should I placde the initial conditions for the ODE when using ode45 and the for loop to solve my system of ODEs? I have no...

4 månader ago | 1 answer | 0

1

answer

Question


Why does my ode45 return a solution with the first values as zero despite I supplying non-zero initial conditions?
In the following code to simulate Pond volume and water temperature changes the code returns the solution (Y) with the first val...

4 månader ago | 3 answers | 0

3

answers

Question


I want to know if my code is well written based on a set of criteria.
To estimate DIP_s, it is necessary to approximate the expected DIP concentration within the current time step used in the integr...

4 månader ago | 0 answers | 0

0

answers

Question


one of the terms "Rho_net" on the RHS of an set is varying with time over the tspan. How do I implement the set of the ODEs such that the term updates at every time step?
I have been trying the code as below but it returns the error "dYdt = @(t, Y) [ode1(t, Y); ode2(t, Y)] must return a column vect...

5 månader ago | 2 answers | 0

2

answers

Question


Please help to solve the error in evaluating a system of odes using ode45
The following code keeps on returning the following error. Error using odearguments @(T,Y)[ODE1(T,Y);ODE2(T,Y)] returns a vec...

5 månader ago | 1 answer | 0

1

answer

Solved


Calculate a Damped Sinusoid
The equation of a damped sinusoid can be written as |y = A.ⅇ^(-λt)*cos(2πft)| where |A|, |λ|, and |f| ...

mer än ett år ago

Solved


Solve a System of Linear Equations
Example: If a system of linear equations in x₁ and x₂ is: 2x₁ + x₂ = 2 x₁ - 4 x₂ = 3 Then the coefficient matrix (A) is: 2 ...

mer än ett år ago

Solved


Verify Law of Large Numbers
If a large number of fair N-sided dice are rolled, the average of the simulated rolls is likely to be close to the mean of 1,2,....

mer än ett år ago

Solved


Find the Oldest Person in a Room
Given two input vectors: * |name| - user last names * |age| - corresponding age of the person Return the name of the ol...

mer än ett år ago

Solved


Convert from Fahrenheit to Celsius
Given an input vector F containing temperature values in Fahrenheit, return an output vector C that contains the values in Celsi...

mer än ett år ago

Solved


Calculate Amount of Cake Frosting
Given two input variables r and h, which stand for the radius and height of a cake, calculate the surface area of the cake you n...

mer än ett år ago

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

mer än ett år ago