photo

Sarah Johnson


Last seen: meer dan 4 jaar ago Active since 2020

Followers: 0   Following: 0

Statistics

  • Thankful Level 2
  • Thankful Level 1

View badges

Feeds

View by

Question


Euler's Method with Matrix
I'm trying to implement Euler's Method on the following ODE, with initial condition [y1, y2] = [1, 3] and on the interval t in [...

meer dan 4 jaar ago | 0 answers | 0

0

answers

Question


"Index exceeds the number of array elements (1)." error
I am trying to write two line search functions to help me write code later for implementing different ways to minimize functions...

bijna 5 jaar ago | 1 answer | 0

1

answer

Question


Line Search Algorithm help
This part is just the background to the algorithms I am working on: Here is the code I currently have but I'm not sure what...

bijna 5 jaar ago | 2 answers | 0

2

answers

Question


Line Search Algorithm - having trouble understanding

bijna 5 jaar ago | 0 answers | 0

0

answers

Question


How do I make my variables save from my function?
I have written a function function [f, grad, gradTwo] = Rosen(x), which returns the Rosenbrock function value f(x) to f, its gra...

bijna 5 jaar ago | 1 answer | 0

1

answer

Question


Globally Converging Newton's Method won't stop running
My goal is to write a function for the Globally Converging Newton's method to find the minimum of the function f. This is what I...

bijna 5 jaar ago | 1 answer | 0

1

answer

Question


My diff function won't work and I'm not sure why
My goal is to give an initial x, and return the function values at that x function [f, g, h] = myfunction(x) syms x q...

bijna 5 jaar ago | 3 answers | 0

3

answers

Question


Newton's Method in Matlab
I am trying to create a function that implements Newton's Method to solve the equation . I know from the past few questions that...

bijna 5 jaar ago | 2 answers | 0

2

answers

Question


Undefined function 'diff' for input arguments of type 'function_handle'.
I am trying to produce a function that receives an inital input x0 (for example, x0 = 1) and the result should be the function e...

bijna 5 jaar ago | 2 answers | 0

2

answers