DMObjNew = power(DMObj1,DMObj2)
performs an element-by-element power of the DataMatrix objects DMObj1
and DMObj2 and places the results in DMObjNew,
another DataMatrix object. In other words, power raises each element in
DMObj1 by the corresponding element in DMObj2.
DMObjNew = power(DMObj1,B)
performs an element-by-element power of the DataMatrix object DMObj1
and B, a numeric or logical array, and places the results in
DMObjNew, another DataMatrix object. In other words,
power raises each element in DMObj1 by the
corresponding element in B.
DMObjNew = power(B,DMObj1)
performs an element-by-element power of B, a numeric or logical array,
and the DataMatrix object DMObj1, and places the results in
DMObjNew, another DataMatrix object. In other words,
power raises each element in B by the
corresponding element in DMObj1.
DMObj1 and DMObj2 must have the same size
(number of rows and columns), unless one is a scalar (1-by-1 DataMatrix object). The
size (number of rows and columns), row names, and column names for
DMObjNew are the same as DMObj1, unless
DMObj1 is a scalar; then they are the same as
DMObj2.
DMObj1 and DMObj2 must have the same size
(number of rows and columns), unless one is a scalar (1-by-1 DataMatrix object). The
size (number of rows and columns), row names, and column names for
DMObjNew are the same as DMObj1, unless
DMObj1 is a scalar; then they are the same as
DMObj2.
Numeric or logical input, specified as a numeric or logical array.
DMObj1 and B must have the same size
(number of rows and columns), unless B is a scalar. The size
(number of rows and columns), row names, and column names for
DMObjNew are the same as DMObj1.
Data Types: double | logical
Note
Arithmetic operations between a scalar DataMatrix object and a nonscalar array are not
supported.
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window.
Web browsers do not support MATLAB commands.
Website auswählen
Wählen Sie eine Website aus, um übersetzte Inhalte (sofern verfügbar) sowie lokale Veranstaltungen und Angebote anzuzeigen. Auf der Grundlage Ihres Standorts empfehlen wir Ihnen die folgende Auswahl: .
Sie können auch eine Website aus der folgenden Liste auswählen:
So erhalten Sie die bestmögliche Leistung auf der Website
Wählen Sie für die bestmögliche Website-Leistung die Website für China (auf Chinesisch oder Englisch). Andere landesspezifische Websites von MathWorks sind für Besuche von Ihrem Standort aus nicht optimiert.