Mileage Fitting

Fit curve for gas mileage as a function of vehicle speed (assuming power losses are due to wind & rolling resistance as well as friction).
17 descargas
Actualizado 12 ene 2020

Ver licencia

The function 'fitmpgcurve' fits a curve for gas mileage as a function of vehicle speed (assuming power losses are due to wind & rolling resistance as well as friction) given gas mileage values as user input (constant) speeds. The function 'plotperturbedmpgcurve' allows you to explore the effect of changing the effects of wind resistance, rolling resistance, friction and idle speed have on your vehicle's gas mileage: e.g. what would happen to gas mileage as a function of speed, if a flat tire increased rolling resistance. Example data for a 2018 Subaru Impreza are included. 'fitmpgcurve' uses the 'lsqnonlin' function in the Optimization Toolbox for non-linear, least squares curve fitting.

Citar como

David Snyder (2024). Mileage Fitting (https://www.mathworks.com/matlabcentral/fileexchange/73908-mileage-fitting), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2017a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Oil, Gas & Petrochemical en Help Center y MATLAB Answers.
Etiquetas Añadir etiquetas

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
1.0.0