main.m630 chars23 lines
This code defines x(t) as sin(4pit), chooses a simple nonlinear transfer function f(x) = x^2 and calculates the output y(t) by applying the function to the input signal x(t). Finally, it plots the input and output signals for visualization.
gistlibby LogSnag