⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 plus.m

📁 计算动力学系统的分岔图
💻 M
字号:
function y = plus(x,y)
% Addition of ADTAYL objects.
% Either of x or y can be numeric, and either can be scalar (1 by 1). If
% neither is scalar, they must have the same size.
% In effect, a numeric argument is converted to ADTAYL, and a scalar argument
% is "spread" to the size of the other.

x = adtayl(x);
y = adtayl(y);
if isscalar(x)
  [m,n,p] = size(y.tc);
  x.tc = repmat(x.tc,m,n);
elseif isscalar(y)
  [m,n,p] = size(x.tc);
  y.tc = repmat(y.tc,m,n);
end
y.tc = x.tc + y.tc;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -