I am trying to find the rms of data points . I got x.y,z coordinates . I have tried to use the rms(M*N) function in the program but it didnt work. any suggestions is welcomed
4 ビュー (過去 30 日間)
古いコメントを表示
This is the equation i would like to implement, where A is the product of x and y axis(Area). Z is basically the points of the surface. I was also thinking of using the double integral function but unsure if it would work with my data. Thank you for any suggestions
0 件のコメント
回答 (1 件)
Star Strider
2022 年 3 月 1 日
I am not certain what z is. If it is indeed a function, then the function needs to be described mathematically in order to do the appropriate double integration. That would either be with the integral function twice, or integral2 function once, depending on the function characteristics. Then divide by whatever A is, and take the square root of the result.
If z is just the matrix itself, I would use the trapz function twice (once down the columns, then across that row result) for the double integrals, then divide by whatever A is, then take the square root of the result.
2 件のコメント
Star Strider
2022 年 3 月 1 日
I cannot do anything with an image of data.
Only you can interpret the data to understand how best to calculate the rms of the data with trapz. I have no idea what you want to do with it, otherwise, however it might be best to calculate the rms of the data on the columns, and be done with it. It does not look to me as though a matrix approach would be worthwhile, however I have no idea what the data are.
I still have no idea what the z function is or what it does with the data, or if it is even important.
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!