Replace certain elements of vector with the values from another vector (average the values belonging the same position)
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
TAPAN PATEL
am 8 Jun. 2020
Kommentiert: TAPAN PATEL
am 8 Jun. 2020
If A = [0 0 0 0 0] and B = [5 6 4] and C = [2 5 2] then
how can I get average of two values belong to position 2nd in final answer that menas final answer should like A = [0 4.5 0 0 6]?
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Logical 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!