multip_add(varargin​)

Version 1.0.0.0 (63 Bytes) by uu tsi
calculate sum of several number
21 Downloads
Updated Sun, 09 Oct 2016 05:37:38 +0000

View License

>> y = multip_add(1)
y =

1

>> y = multip_add(1,2)

y =

3

>> y = multip_add(1,2,3)

y =

6

>> y = multip_add(1,2,4)

y =

7

>> y = multip_add(1,2,4,5)

y =

12

Cite As

uu tsi (2024). multip_add(varargin) (https://www.mathworks.com/matlabcentral/fileexchange/59610-multip_add-varargin), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2016a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags
sum
Acknowledgements

Inspired by: Sum of vectors

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0