Percentage of variation?

2 views (last 30 days)
Lilya
Lilya on 25 Jul 2016
Answered: Azzi Abdelmalek on 25 Jul 2016
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.

Accepted Answer

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

More Answers (0)

Categories

Find more on MATLAB in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!