该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
function [r,h] = simple(s,varargin)
%SIMPLE Search for simplest form of a symbolic expression or matrix.
% SIMPLE(S) tries several different algebraic simplifications of
% S, displays any which shorten the length of S's representation,
% and returns the shortest. S is a SYM. If S is a matrix, the result
% represents the shortest representation of the entire matrix, which is
% not necessarily the shortest representation of each individual element.
%
% [R,HOW] = SIMPLE(S) does not display intermediate simplifications,
% but returns the shortest found, as well as a string describing
% the particular simplification. R is a SYM. HOW is a string.
%
% SIMPLE(S,'IgnoreAnalyticConstraints',VAL) controls the level of
% mathematical rigor to use on the analytical constraints while simplifying