Percentage of variation?

2 visualizaciones (últimos 30 días)
Lilya
Lilya el 25 de Jul. de 2016
Respondida: Azzi Abdelmalek el 25 de Jul. de 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.

Respuesta aceptada

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

Más respuestas (0)

Categorías

Más información sobre MATLAB en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by