Borrar filtros
Borrar filtros

how to divide two groups of number and sum the fractions of the two...

2 visualizaciones (últimos 30 días)
Cheryl
Cheryl el 11 de Nov. de 2013
Respondida: Image Analyst el 11 de Nov. de 2013
If I had x= 1 2 3 4 5 and y= 6 7 8 9 10...How would I divide x1/y1+ x2/y2? Then how could I take those numbers an add them together?
Thanks So Much

Respuestas (1)

Image Analyst
Image Analyst el 11 de Nov. de 2013
Try this:
theSum = sum(x./y)

Categorías

Más información sobre Mathematics 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