-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
bugSomething isn't workingSomething isn't working
Description
The following Matlab test fails:
clear all
addpath('./WindField/Velocity_Interpolation_wErrorCov/');
% Simple linear data: speed = 5 at t=0, speed = 15 at t=10
times = [0.0, 10.0];
speeds = [5.0, 15.0];
data = [times(:), speeds(:)]; % Column-wise concatenation
% Simple 2x2 identity Cholesky: noise still generated but uncorrelated
chol = chol(eye(2)); % chol returns upper triangular by default in MATLAB
% Define a WindVelMatrix function equivalent
wind = WindVelMatrix(data, chol);
% Test 5: Single turbine (scalar iT input)
iT_scalar = 1;
vel_scalar = getWindSpeedT(wind, iT_scalar, 5.0);
assert(length(vel_scalar) == 1);
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working