Fortune Telling Collection - Zodiac Analysis - Use Matlab20 13. It says line 25 is a dmodce error. Why? Thank you.

Use Matlab20 13. It says line 25 is a dmodce error. Why? Thank you.

Dmodce function was warned in Matlab2009 and will be deleted in future versions. It is estimated that it can no longer be used in version 20 13, but the same function can be achieved by using modem function and modulate function.

Specifically, replace the dmodce function with:

h = modem.qammod('M ', 16,' SymbolOrder ',' gray ',' InputType ',' integer ');

y = modulate(h,x);

y = repmat(y,df, 1);

y = shape(y, 1,df * N);

Nothing else will change.

The end result is: