A code for giving sum of the vectors.
Martin (2021). Sum of vectors (https://www.mathworks.com/matlabcentral/fileexchange/44713-sum-of-vectors), MATLAB Central File Exchange. Retrieved .
This page currently shows 11 downloads in the last 30 days for this submission: are those downloaders aware that this submission is a looped version of functionality that is already built into MATLAB, and that its internal variable masks MATLAB's inbuilt "sum" function?
This function does not work, because the input argument "v" has been forgotten. Calculating a sum by a loop is a very bad idea in Matlab, because the built-in function SUM() is much nicer, faster and free of bugs.
I do not see a reason to publish this not working piece of code without help text, which performs calculations slower than an already existing function. Please remove it from the FEX.
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!