Generating a sine wave

How do I generate a signal that has amplitude of 6, and a frequency of 10Khz ? The graph should be in green colour. Thanks.

3 comentarios

Adam Danz
Adam Danz el 22 de Nov. de 2019
This isn't really a matlab question. To learn about the parameters that affect a sine wave,
To plot a line in green,
plot(x,y,'g-')
BZZ
BZZ el 22 de Nov. de 2019
Thanks, we had this question in our exam, so that's why I'm asking. (Yeah, we do matlab exams on paper)
Adam Danz
Adam Danz el 22 de Nov. de 2019
"we do matlab exams on paper"
That's awesome! You'll have plenty of practice for tech interviews if you go that route.
"we had this question in our exam "
So, what was your response? How far are you in solving this? The link I provided should be enough for you to fill in any gaps.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre MATLAB en Centro de ayuda y File Exchange.

Preguntada:

BZZ
el 22 de Nov. de 2019

Comentada:

el 22 de Nov. de 2019

Community Treasure Hunt

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

Start Hunting!

Translated by