cppiscute
cppiscute

Reputation: 737

Simulink model is not seems to work at high frequency [Just a representation mistake ?]

I have a model of the form:

enter image description here

All I am doing here is mixing the two sine waveforms based on the random bits.

I set the signal frequency of first sign wave to: enter image description here

Second sign wave:

enter image description here

The output is : enter image description here

But it works well when the signals are of low frequency.

How can I make it to work even at high frequencies ?

Upvotes: 0

Views: 244

Answers (1)

Phil Goddard
Phil Goddard

Reputation: 10772

80*10^3*t and 12*10^4*t are both always an integer for all values of t=0:0.01:100. Hence the sin is always being evaluated at an integer multiple of 2*pi. Hence the value of the plot is always zero (or near enough to it down in the 10^-8 or 10^-9 range.

You need to change the sample rate so that you get points where sin is not zero.

Upvotes: 1

Related Questions