best fit

9 views (last 30 days)
Mate 2u
Mate 2u on 30 May 2012
Hi there, I have a 6 x 83430 matrix. I want a 1 x 83430 matrix which has the best fit.

Answers (1)

Wayne King
Wayne King on 30 May 2012
It seems you want to summarize the 6 values in each column of the matrix. How about just using mean()?
x = randn(6,83430);
x = mean(x);

Categories

Find more on Get Started with Curve Fitting Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!