diff --git a/Functions/EQ_structures/ml_mlse.m b/Functions/EQ_structures/ml_mlse.m index ce2112c..04fe317 100644 --- a/Functions/EQ_structures/ml_mlse.m +++ b/Functions/EQ_structures/ml_mlse.m @@ -45,7 +45,14 @@ end ml_mlse_results.config = Equalizerstruct(); -eq_ = strip_eq(eq_, 10); +eq_small = strip_eq(eq_, 10); +fn = fieldnames(eq_small); +for k = 1:numel(fn) + if issparse(eq_small.(fn{k})) + eq_small.(fn{k}) = full(eq_small.(fn{k})); + end +end +json_str = jsonencode(eq_small); ml_mlse_results.config.eq = jsonencode(eq_); ml_mlse_results.config.equalizer_structure = int32(equalizer_structure.ml_mlse);