Percentage of variation?

1 次查看(过去 30 天)
Hi all, could anyone please help me to write this equation to calculate the percentage of variation. every time I got different results when running the code (i.e. greater than 100%)
b = [abs[Yav - Ycp] / Yav] * 100
thank you in advance.

采纳的回答

Azzi Abdelmalek
Azzi Abdelmalek 2016-7-25
b = 100*abs(Yav - Ycp)./ Yav

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by