Skip to Main Content Skip to Search
Product Documentation

times - Array multiply

Syntax

c = a.*b
c = times(a,b)

Description

c = a.*b multiplies arrays a and b element-by-element and returns the result in c. Inputs a and b must have the same size unless one is a scalar.

c = times(a,b) is called for the syntax a.*b when a or b is an object.

See Also

mtimes

  


Free MATLAB Interactive Kit

Explore how to use MATLAB to make advancements in engineering and science.


Download free kit

Trials Available

Try the latest version of MATLAB and other MathWorks products.


Get trial software
 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS