How do I write the code for a nonlinear system?

7 views (last 30 days)
I want to put a bitstream into a symbol mapper then through a nonlinear system. However I want to use Matlab rather than simulink.

Accepted Answer

Oleg Komarov
Oleg Komarov on 12 Feb 2011
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
Carmen
Carmen on 19 Feb 2011
thank you, how do I plot the nonlinearity with the modulated signal?

Sign in to comment.

More Answers (0)

Categories

Find more on Systems of Nonlinear Equations in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!