Replace matlab function with user defined function in code
1 次查看(过去 30 天)
显示 更早的评论
Hi, the existing function is as follows:
[a,e] = arburg(est_x1,PSam,k);
I would like to replace the arburg fucntion with the function in arburgw1.m in the code. How can I do that?
4 个评论
Stephen23
2022-12-30
"how do i get [a,e] from this function?"
Once you write a callable function (i.e not a script, as explained in my last comment), then you can simply call it with those output arguments, just as the introductory tutorials show:
[a_out,e_out] = arburgw1(..)
Note that you should replace the evil EVAL() with slightly more robust FEVAL().
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Signal Generation and Preprocessing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!