Question: Your first task is implementing a function that computes the rms value of a signal ( vector ) using the above mentioned formula. a .
Your first task is implementing a function that computes the rms value of a signal vector using the above mentioned formula.
a You will have one input argument and one output argument.
i The input argument is a vector of any length. The output argument is the rms value of the vector.
b You are only allowed to use the Matlab builtin functions: length, size, and sqrt in your function. You can also use if elseif, for or while if required You should not use the builtin matlab function rms to compute the RMS value in your code. You can, however, use the rms function to check if your implementation is working correctly after you are done writing your function.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
