I want to cite polyfit function described in : https://www.mathworks.com/help/matlab/ref/polyfit.html

How can I cite it? Specially in bibtex format?

I don't know if I should point to the URL or use MATLAB trademark and the software version...


2 Answers 2


Since polyfit is a basic Matlab function, you could reference the Matlab Function Reference book (pdf) for the version of Matlab you are using. It would be appropriate to reference the page number of were the function is decsribed in your text. The manual is easily added as a book. The references can be found on the Mathworks web.

  • Thank you, however I have problem to open your second link. Wish you put them in your answer.
    – Ahmad
    Oct 15, 2016 at 16:29

If you are only interested in the algorithm and not in its specific implementation in Matlab, consider citing an article or a textbook that describes it, rather than its implementation. In your case, for instance, polyfit does least-squares polynomial fitting (with a fixed degree), which you can find described in many textbooks.

  • 3
    +1. Citing and disclosing the method (and its parameters) is fundamental, and often more important than citing MATLAB's documentation. Also do provide the MATLAB version.
    – FBolst
    Jan 5, 2018 at 20:17

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .