ak9im/p3
2023-03-15 20:17:25 +01:00
..
data p3: add calculated data 2023-03-15 20:02:05 +01:00
lrls p3(lrls): redo how explicit works 2023-03-15 19:57:59 +01:00
matlab p3: add matlab,simulink project files 2023-03-15 20:05:16 +01:00
res p3: add plots 2023-03-15 20:02:47 +01:00
.golangci.yml p3: add .golangci-lint 2023-03-15 20:08:58 +01:00
data.go p3(data.go): better error message 2023-03-15 20:17:25 +01:00
go.mod p3: add lrls/helper.go 2023-03-05 17:48:31 +01:00
go.sum flake,go,pre-commit: add p3 2023-03-04 14:51:37 +01:00
main.go flake,go,pre-commit: add p3 2023-03-04 14:51:37 +01:00
README.md p3(readme): correct p2 -> p3 2023-03-15 19:58:57 +01:00
run.go p3(run.go): actually call explicit least squares 2023-03-15 20:00:51 +01:00
visualise.py p3: visualise explicit theta 2023-03-15 20:03:49 +01:00

p3

this is a Go subproject containing code for task no. 3. Python is used for visualisation.

compile

go build -v .

run

to compute correlations, impulse function:

# pass a csv data file.
./p3 -datafile=./data/m.csv

to visualise the computed data:

python visualise.py

alternatively, from current folder you could do both of the above in a single step:

# compute stuff and visualise.
-./p3 -datafile=./data/m.csv
+./p3 -datafile=./data/m.csv -vis