MATLAB Answers

How to produce a plot for signals?

์กฐํšŒ ์ˆ˜: 1(์ตœ๊ทผ 30์ผ)
Connor Wright
Connor Wright 2020๋…„ 11์›” 13์ผ
ํŽธ์ง‘: Bastian Arturo Romero Mardones 2020๋…„ 11์›” 13์ผ
Hello,
I have to produce a plot for a sine wave using the following values. Uni being what it is at the moment it's pointless trying to get help from Lecturers.
Values for this plots are as follows -
๐‘ฅ = 2sin (5๐‘ก)
๐‘ฆ = 2cos (3๐‘ก)
I understand how to actually tell MatLab to produce the graph but that's the limit of my understanding here.
Thanks

์ฑ„ํƒ๋œ ๋‹ต๋ณ€

Bastian Arturo Romero Mardones
Bastian Arturo Romero Mardones 2020๋…„ 11์›” 13์ผ
ํŽธ์ง‘: Bastian Arturo Romero Mardones 2020๋…„ 11์›” 13์ผ
t = 0:1e-3:5 %time of sampling
x = 2*sin(5*t); %evaluated function
plot(t,x); %plot(axis x,axis y)
More info: https://es.mathworks.com/help/matlab/ref/plot.html
  ๋Œ“๊ธ€ ์ˆ˜: 1
Connor Wright
Connor Wright 2020๋…„ 11์›” 13์ผ
Brilliant thank you!

๋Œ“๊ธ€์„ ๋‹ฌ๋ ค๋ฉด ๋กœ๊ทธ์ธํ•˜์‹ญ์‹œ์˜ค.

์ถ”๊ฐ€ ๋‹ต๋ณ€(0๊ฐœ)

ํƒœ๊ทธ

Community Treasure Hunt

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

Start Hunting!

Translated by