How to optimize the calculation of the mean between the elements of A and B efficiently?

1 Ansicht (letzte 30 Tage)
hello, everything okay ?
if A=[a1 a2 a3 a4 a5 ..................an]
and B=[b1 b2 b3 b4 b5 ...............bn]
How to optimize the calculation of the mean between the elements of A and B efficiently?
for exemple
C=[(a1+b1)/2 (a2+b2)/2 (a3+b3)/2 ...................(an+bn)/2 ]

Akzeptierte Antwort

David Hill
David Hill am 5 Jan. 2021

Weitere Antworten (0)

Kategorien

Mehr zu Problem-Based Optimization Setup finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by