regression method (in matlab)
1 view (last 30 days)
Show older comments
I have two curves , one is measured one is calculated from cylinder. They are all angle dependent.
Would you offer any matlab function that I calculate the regression with these two datas.
I am searching the qaulity of simulation regarding to measurement? The matrixes are like that
The Matrix A is (measured)
the Matrix B (simulated)
Have you looked at polyfit()?
Edited: Image Analyst on 8 Jul 2012
You mean like a correlation coefficient, or RMS error, or PSNR? Usually you don't regress simulated vs. measured (i.e. predicted vs. observed). You could use scatter() to see them plotted against each other but usually you don't do a regression to fit a line through the points. Often/Usually you'll use PSNR to see how well your model/simulation did in predicting the observed values, at least in compressing and reconstructing data. Other fields may have other methods that are preferred, such as RMS error or average absolute difference or MSI or SSIM ( http://en.wikipedia.org/wiki/Structural_similarity)
More Answers (2)
Star Strider on 7 Jul 2012
You list one set of data as being ‘measured’ and the other as ‘simulated’. Are you comparing the fit of the simulation to the measured data? If so, then the best measure to describe their relationship might be the mean-square error:
MSE = mean((measured-simulated).^2);
The RMS error Image Analyst refers to is:
RMS = sqrt(MSE);
Kazim Hanbay on 9 Aug 2012
soru hakkında şunu söyleyebilirim;Her iki dağılımın olasılık yoğunluk fonksiyonlarını hesaplayıp daha sonra lineer reg. deneyebilirsiniz sanırım.Ayrıca size bir şey sormak istiyorum.Bir görüntünün korelasyon matrisini nasıl hesaplayabilirim?Daha sonra bu matrisin öz değer ve öz vektör analizini yapmam gerekiyor.
Find more on Linear Predictive Coding 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!