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
3 views (last 30 days)
Show older comments
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 Comments
Answers (1)
Star Strider
on 1 Mar 2022
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 Comments
Star Strider
on 1 Mar 2022
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.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!