| Contents | Index |
c = a+b
c = plus(a,b)
c = a+b adds arrays a and b and returns the result in c. Inputs a and b must have the same size unless one is a scalar value (1-by-1 matrix). You can add a scalar value to any other value.
c = plus(a,b) is called for the syntax a + b when a or b is an object.

Explore how to use MATLAB to make advancements in engineering and science.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |