Have a look at the help that is available for the fir1 function. There are two ways to read the help comments embedded in the fir1.m file, either as text in the command window or as text in a graphical help browser. Additionally, you can see MATLAB’s online help system about the function as well, providing slightly different details about the function.