best fit

조회 수: 9 (최근 30일)
Mate 2u
Mate 2u 2012년 5월 30일
Hi there, I have a 6 x 83430 matrix. I want a 1 x 83430 matrix which has the best fit.

답변 (1개)

Wayne King
Wayne King 2012년 5월 30일
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);

카테고리

Help CenterFile Exchange에서 Get Started with Curve Fitting Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by