best fit

2 次查看(过去 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 中查找有关 Interpolation 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by