Maple für Professional
Maple für Akademiker
Maple für Studenten
Maple Personal Edition
Maple Player
Maple Player für iPad
MapleSim für Professional
MapleSim für Akademiker
Maple T.A. - Testen & beurteilen
Maple T.A. MAA Placement Test Suite
Möbius - Online-Courseware
Machine Design / Industrial Automation
Luft- und Raumfahrt
Fahrzeugtechnik
Robotics
Energiebranche
System Simulation and Analysis
Model development for HIL
Anlagenmodelle für den Regelungsentwurf
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematikausbildung
Technik
Allgemein- und berufsbildende Schulen
Testen und beurteilen
Studierende
Finanzmodelle
Betriebsforschung
Hochleistungsrechnen
Physik
Live-Webinare
Aufgezeichnete Webinare
Geplante Veranstaltungen
MaplePrimes
Maplesoft-Blog
Maplesoft-Mitgliedschaft
Maple Ambassador Program
MapleCloud
Technische Whitepapers
E-Mail Newsletters
Maple-Bücher
Math Matters
Anwendungs-Center
MapleSim Modell-Galerie
Anwenderberichte
Exploring Engineering Fundamentals
Lehrkonzepte mit Maple
Maplesoft Welcome-Center
Resource-Center für Lehrer
Help-Center für Studierende
MTM[ElementwiseOr] - element-wise logical or
Calling Sequence
ElementwiseOr(M1,M2)
Parameters
M1
-
matrix, vector, array or scalar
M2
Description
The command ElementwiseOr(M1,M2) performs an element-wise comparison of M1 and M2.
For matrices M1 and M2, the result R is a matrix where R[i,j] = 1, if either M1[i,j] or M2[i,j] is non-zero, and R[i,j] = 0 otherwise.
For matrix M1 and scalar M2, the result R is a matrix where R[i,j] = 1, if either M1[i,j] or M2 is non-zero, and R[i,j] = 0 otherwise.
For scalar M1 and matrix M2, the result R is a matrix where R[i,j] = 1, if either M1 or M2[i,j] is non-zero, and R[i,j] = 0 otherwise.
For scalars M1 and M2, the result R = 1, if either M1 or M2 is non-zero, R = 0 otherwise.
M1 and M2 must be the same size, or scalars.
Examples
See Also
MTM[ElementwiseAnd], MTM[ElementwiseNot], MTM[eq]
Download Help Document