MATLAB Examples

Fit and compare polynomials up to sixth degree using Curve Fitting Toolbox, fitting some census data. It also shows how to fit a single-term exponential equation and compare this to the

Work with a curve fit.

Work with a surface fit.

Find the first and second derivatives of a fit, and the integral of the fit, at the predictor values.

Compute and plot observation and functional prediction intervals for a fit to noisy data.

Remove outliers when curve fitting programmatically, using the 'Exclude' name/value pair argument with the fit or fitoptions functions. You can plot excluded data by supplying an Exclude

The aim of this demo is to characterize the "complete spectrum of interaction" between opiods and hypnotics, using propofol and remifentanil as drug class prototypes [1]. 4 different

Use Curve Fitting Toolbox™ to fit response surfaces to some anesthesia data to analyze drug interaction effects. Response surface models provide a good method for understanding the

Fit polynomials up to sixth degree to some census data using Curve Fitting Toolbox™. It also shows how to fit a single-term exponential equation and compare this to the polynomial models.

Use Curve Fitting Toolbox™ to fit a response surface to some automotive data to investigate fuel efficiency.

Use the csaps and spaps commands from Curve Fitting Toolbox™ to construct cubic smoothing splines.

Use commands from Curve Fitting Toolbox™ to fit a spline to titanium test data with manual and automatic selection of knots.

Use the csapi and csape commands from Curve Fitting Toolbox™ to construct cubic spline interpolants.

Construct and work with the ppform of a spline in Curve Fitting Toolbox™.

Construct splines in various ways using the spline functions in Curve Fitting Toolbox™.

Construct and work with the B-form of a spline in Curve Fitting Toolbox™.

Select and optimize knots using the optknt and newknt commands from Curve Fitting Toolbox™.

Use the fit function to fit linear interpolant models to data.

Fit an exponential model to data using the fit function.

The aim of this analysis is to characterize the dose response behavior of 4 different drug candidates in a population. The objective of this analysis is investigate the how the treatments

Use the fit function to fit polynomials to data. The steps fit and plot polynomial curves and a surface, specify fit options, return goodness of fit statistics, calculate predictions, and

Use the fit function to fit a Fourier model to data.

Compare the effects of excluding outliers and robust fitting. The example shows how to exclude outliers at an arbitrary distance greater than 1.5 standard deviations from the model. The

Fit a custom equation to census data, specifying bounds, coefficients, and a problem-dependent parameter.

Use the fit function to fit power series models to data.

Use the fit function to fit a Gaussian model to data.

Use the fit function to fit a Lowess model to data.

Use the fit function to fit a smoothing spline model to data.

Use the spmak, spcrv, cscvn and rscvn commands from Curve Fitting Toolbox™ to construct spline curves in the plane. This includes plotting tangents and computing the area enclosed by a

Use the cscvn command from Curve Fitting Toolbox™ to construct cubic spline curves in two and three dimensions.

Use the spline commands in Curve Fitting Toolbox™ to fit tensor product splines to bivariate gridded data.

Use spline commands from Curve Fitting Toolbox™ solve a nonlinear ordinary differential equation (ODE).

Use commands from Curve Fitting Toolbox™ to construct a Chebyshev spline.

Use spline commands from Curve Fitting Toolbox™ to smooth a histogram.

This demo is an example of performing data mining on historical fuel economy data. We have data from various cars built from year 2000 up to 2012.

Copyright 2016 The MathWorks, Inc.Published with MATLAB® R2016a

Goal - Produce a reliable med term forecasting model for Energy Demand

This Spectr-O-Matic example decomposes a mixture spectrum into reference components by linear least squares fit.

This example was authored by the MathWorks community.

In this demo, we use regression trees to predict the fuel economy of vehicles.

データは以下ページから取得したオープンデータを使用

緯度

Create specdata objects from variables

Example script for Spectr-O-matic toolbox.

Copyright 2017 - 2017 The MathWorks, Inc.

Choose your country to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .

You can also select a location from the following list:

See all countries