Why does sum([]) equal to zero?
Ältere Kommentare anzeigen
Executing the following gives zero as the result.
sum([])
I expect an error or an empty matrix as the answer.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Data Type Identification finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!