Community Profile

photo

Brady Retzlaff


Active since 2015

Statistics

Content Feed

View by

Question


Trying to code backward euler?
I am trying to write a code to compute the backward euler approximation of a differential equation. the ODE is dy/dx = -y(x) ...

8 years ago | 0 answers | 0

0

answers

Question


Minimize using fminsearch?
The question is this Use fminsearch to minimize the function you wrote above, using an initial guess of your choosing. Use ...

8 years ago | 0 answers | 0

0

answers

Question


Minimizing least squares regression?
Consider fitting the data {(1, 4),(3, 5),(5, −2)} with the curve f(x) = c1x+c2 so that f(x) minimizes the least squares error ...

8 years ago | 2 answers | 0

2

answers

Question


How do I find a value in a vector using the bisection method?
I'm asked to find the location of the value 25 in a 200 value vector that is in ascending order using the bisection method. So f...

8 years ago | 2 answers | 0

2

answers

Question


How do I replace the elements of a vector with something else based on conditions?
I have a vector A, that is 10 random numbers between 0 and 1. If the number is greater than .5 I want to replace it with 1, othe...

8 years ago | 3 answers | 0

3

answers