简单代数系统
此示例展示了以下简单代数系统的实现:
y = x2
x = 2y - 1
Simscape™ 文件如下所示:
component MyAlgebraicSystem
outputs
x = 0;
y = 0;
end
equations
y == x^2; % y = x^2
x == 2 * y - 1; % x = 2 * y - 1
end
end
此示例展示了以下简单代数系统的实现:
y = x2
x = 2y - 1
Simscape™ 文件如下所示:
component MyAlgebraicSystem
outputs
x = 0;
y = 0;
end
equations
y == x^2; % y = x^2
x == 2 * y - 1; % x = 2 * y - 1
end
end