MATLAB: How to export fdatool results in a *.m file

fdatool programming

I want to use fdatool to design a lot FIR filters,is there any way to use fdatool in a m file and export the disigning result automatically? Thank you.

Best Answer

It looks as though fdatool is GUI only. (I don’t use it often.) Exporting the filter it designs appears to be straightforward. See the documentation for Using FDATool for details.
There are a number of fir filter design functions that you can use in your .m-files. The firls function may come closest do doing what you want. Explore them to see which works best for you.
Related Question