Info
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
How can i change syntax ?left is 2020 right is 2015 I want to change lines on 22, 23 in 2020 from 2015 but, I don't know how to change it.
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
i want to change syntax so, I changed syntax in 2020 from 2015's version syntax but, it's not working. please teach me my errors. Thank you in advance![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/369319/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/369319/image.png)
2 comentarios
madhan ravi
el 1 de Oct. de 2020
Editada: madhan ravi
el 1 de Oct. de 2020
Mind uploading the code, pictures are pointless.
Respuestas (1)
Priysha LNU
el 7 de Oct. de 2020
The function "qammod" takes a 'data signal' as the first input argument.
y = qammod(x,M,Name,Value) % modulates input signal x by using QAM with the specified modulation order M. Output y is the modulated signal.
The code provided above in comments shows a 'string' ('M') as first input argument instead of a data signal.
Try changing this argument to a signal instead of a string.
Similarly for function "qamdemod" takes input signal 'y' for its first argument, not a string ('M').
z = qamdemod(y,M,Name,Value) %returns a demodulated signal, z, given quadrature amplitude modulation (QAM) signal y of modulation order M.
DISCLAIMER: These are my own views and in no way depict those of MathWorks.
0 comentarios
La pregunta está cerrada.
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!