p3(lrls): redo how explicit works
This commit is contained in:
parent
f3a15203a6
commit
033fdd77a9
@ -30,7 +30,7 @@ func Estimate(eMethod int, u, y []float64) ([][]float64, []float64, error) {
|
||||
|
||||
switch method {
|
||||
case methodExplicit:
|
||||
theta, errs, err = explicit()
|
||||
err = explicit()
|
||||
|
||||
case methodRecursive:
|
||||
theta, errs, err = recursive(u, y)
|
||||
|
@ -5,15 +5,15 @@ import (
|
||||
"os/exec"
|
||||
)
|
||||
|
||||
func explicit() ([][]float64, []float64, error) {
|
||||
func explicit() error {
|
||||
err := runExplicitMatlab()
|
||||
if err != nil {
|
||||
return nil, nil, err
|
||||
return err
|
||||
}
|
||||
|
||||
// TODO: read data processed and saved by matlab and return that.
|
||||
|
||||
return nil, nil, nil
|
||||
return nil
|
||||
}
|
||||
|
||||
func runExplicitMatlab() error {
|
||||
|
Loading…
Reference in New Issue
Block a user