How do you plot RMS of a Colormap?
Show older comments
Looking to get an RMS value of a 3D plot based on Z Values. I have a colormap that has speed and RPM on x and y with Z as the dependent value.
Answers (1)
Depending on the desired result, either use the rms function with the entire matrix (using the (:) convention to force it to be a vector) or take the rms values across a specific dimension.
Z = randn(10);
rms_all = rms(Z(:))
rms_across_rows = rms(Z,2)
.
Categories
Find more on Color and Styling 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!