mean square error expected value
显示 更早的评论
how to write this in matlab?
Rz=E[z*z transpose]
and
Rz=E[(z-z bar)(z-z bar)tranpose]
回答(4 个)
Mahdiyar
2015-4-6
Hi nine
If you are looking for Root Mean Square you can simply use command "rms". for more information write the following command in Command windows.
doc rms
Regards.
Star Strider
2015-4-6
Use the mean function and the complex-conjugate-transpose operator ('):
Rz = mean(z(:)*z(:)');
and:
Rz = mean((z(:)-zbar)*(z(:)-zbar)');
The subscript colon ‘z(:)’ forces ‘z’ to be a column vector, so you will not get an error if you give it ‘z’ a a row vector.
ojasvi
2015-5-27
0 个投票
hi, i have an emg data. first i rectify the signal and then i have to the RMS, how i can i do this. any code for help
Image Analyst
2015-5-28
0 个投票
If you have the Image Processing Toolbox, simply use the function immse(). It works for 1-D "images/signals, as well as 2D images.
类别
在 帮助中心 和 File Exchange 中查找有关 Dimensionality Reduction and Feature Extraction 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!