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.
Seleccione un país/idioma
Seleccione un país/idioma para obtener contenido traducido, si está disponible, y ver eventos y ofertas de productos y servicios locales. Según su ubicación geográfica, recomendamos que seleccione: .
También puede seleccionar uno de estos países/idiomas:
Cómo obtener el mejor rendimiento
Seleccione China (en idioma chino o inglés) para obtener el mejor rendimiento. Los sitios web de otros países no están optimizados para ser accedidos desde su ubicación geográfica.