Mercurial > octave
view examples/code/@FIRfilter/subsasgn.m @ 31225:3eab70385569
sparse-xpow.cc: Use faster multiplication technique, this time for complex
author | Arun Giridhar <arungiridhar@gmail.com> |
---|---|
date | Sun, 11 Sep 2022 13:53:38 -0400 |
parents | a9ed4104ecfd |
children |
line wrap: on
line source
function fout = subsasgn (f, index, val) switch (index.type) case "." fld = index.subs; if (! strcmp (fld, "polynomial")) error ('@FIRfilter/subsasgn: invalid property "%s"', fld); endif fout = f; fout.polynomial = val; otherwise error ("@FIRfilter/subsasgn: Invalid index type") endswitch endfunction