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.

 采纳的回答

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 个评论

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

请先登录,再进行评论。

更多回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Symbolic Math Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by