Percentage of variation?

2 visualizzazioni (ultimi 30 giorni)
Lilya
Lilya il 25 Lug 2016
Risposto: Azzi Abdelmalek il 25 Lug 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.

Risposta accettata

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

Più risposte (0)

Categorie

Scopri di più su MATLAB in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by