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

5 次查看(过去 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

回答(1 个)

Star Strider
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
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.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Numerical Integration and Differentiation 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by