Operands, specified as symbolic equations, inequalities, expressions, or arrays.
Inputs A and B must either be the same size or
have sizes that are compatible (for example, A is an
M-by-N matrix and B is a
scalar or 1-by-N row vector). For more
information, see Compatible Array Sizes for Basic Operations.
Tips
If you call simplify for a logical expression containing symbolic subexpressions, you can
get the symbolic constants symtrue and
symfalse. These
two constants are not the same as logical 1 (true) and logical 0 (false). To convert symbolic symtrue and
symfalse to logical values, use logical.
Starting in R2016b with the addition of implicit expansion, some combinations of
arguments for basic operations that previously returned errors now produce results. For
example, you previously could not add a row and a column vector, but those operands are now
valid for addition. In other words, an expression like [1 2] + [1; 2]
previously returned a size mismatch error, but now it executes.
If your code uses element-wise operators and relies on the errors that MATLAB® previously returned for mismatched sizes, particularly within a
try/catch block, then your code might no longer
catch those errors.
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.