Square root of the summation(RMS)

15 views (last 30 days)
Dinuka Ravimal
Dinuka Ravimal on 17 Nov 2020
Commented: Dinuka Ravimal on 19 Nov 2020
I want to get the results base on the square root of the summation of (square of (height * width).
Example data set ; Height = 40 Width = 0.5
Could you please give me a code for this problem?
  1 Comment
Rik on 17 Nov 2020
This is not the conventional meaning of RMS, which is the square Root of the Mean of the Squares. Also, this is a pretty basic calculation, what have you tried already? Since your example data has only scalar values, it seems strange to ask for a sum. What is the sum of a single value?

Sign in to comment.

Accepted Answer

VBBV on 17 Nov 2020
Edited: VBBV on 19 Nov 2020
height = 40:60;
width= linspace(0.2,0.5,length(height));

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!