Skip to content

Variable mis-named? #113

@nobias

Description

@nobias

I think this line:

tmp_hh = cumsum(h.*h); % hh(k) = h(1:k)'*h(1:k)

should read:
tmp_hh = cumsum(tmp_h.*tmp_h);

Otherwise Matlab throws this error message:
"Identifier 'h' is not a function or a shared variable. To share 'h' with nested function, initialize it in the current scope."

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions