Using embedded function in Simulink
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
I have used Embedded matlab function in Simulink ,three have written code for a sinewave,when i use scope i do not get sine wave i just get many straight lines ,please help
2 comentarios
Respuesta aceptada
Azzi Abdelmalek
el 2 de Dic. de 2012
Pat, that's what I was expecting, the size of y is [1 303], that means your output will be a vector of 303 elements which will be displayed in your scope. Why are 'nt you using a sine wave block ? what do you to get exactly?
7 comentarios
Azzi Abdelmalek
el 2 de Dic. de 2012
Editada: Azzi Abdelmalek
el 2 de Dic. de 2012
Set the stop time to 1.99, the frequency of each sine wave blck to 56 Hz. The amplitudes to 1, 2 and 3
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/177481/image.jpeg)
In configuration parameter set the fixed step size to 0.001
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!