Main Content

Simple Algebraic System

This example shows implementation for a simple algebraic system:

y = x2

x = 2y - 1

The Simscape™ file looks as follows:

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

Related Examples

More About