photo

Rian Sullivan


Last seen: 1 month ago Active since 2024

Followers: 0   Following: 0

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


Total Least squares error help. I tried a couple different things here, but i'm not exactly sure how to do a total least squares error. The numbers aren't making sense to me.
clear all % A represents the sample measured in days A = [1, 0; 1, 1; 1, 2; 1, 3; 1, 4; 1, 5; 1, 6; 1, 7] % b represents the ...

9 months ago | 1 answer | 0

1

answer

Question


Stationary point Code Error. Trying to find stationary points for the equation below. Was having a hard time doing it by hand so tried a code.. getting error for fsolve.
% Define the function f(x1, x2) f = @(x) x(1)^2 + x(1)*x(2) + 3/2*x(2)^2 - 2*log(x(1)) - log(x(2)); % Define the gradient ∇f(x...

9 months ago | 2 answers | 0

2

answers