File Exchange

image thumbnail

poly-fast-matlab

version 1.0.0 (1.1 MB) by Marcin Konowalczyk
Fast versions of polyval and polyfit for sane people

23 Downloads

Updated 08 Jun 2021

From GitHub

View license on GitHub

Original `poly` functions are very good and useful, but they do a lot of not-always-necessary work (matrix condition checking), especially when one is in the middle of a tight `for`-loop. `poly_fast` functions do not do these checks, but assume the user is sane and knows what they're doing. It is recommended to **first** write one's code with normal `poly` functions, and then switch to the `poly_fast` once the code works fine. This can be done by simply replacing the calls to `polyfit` and `polyval` with ones to `polyfit_fast` and `polyval_fast`.

Cite As

Marcin Konowalczyk (2021). poly-fast-matlab (https://github.com/MarcinKonowalczyk/poly-fast-matlab), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2017b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.