How do I write the code for a nonlinear system?

I want to put a bitstream into a symbol mapper then through a nonlinear system. However I want to use Matlab rather than simulink.

2 Comments

More details about the nonlinear system?
using a polynomial?

Sign in to comment.

 Accepted Answer

Then:
% Create function handle
f = @(x,y,bt) x^2+y^2.*bt;
% Bitstream
bt = randi([0,1],10,1);
% Evaluate at x = 2, y = 3 and bt
f(2,3,bt)
Oleg

1 Comment

thank you, how do I plot the nonlinearity with the modulated signal?

Sign in to comment.

More Answers (0)

Categories

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!