y(t) = 0.5x_(t/2+1) plot y(t)

조회 수: 3 (최근 30일)
Aaron Abueg
Aaron Abueg 2019년 10월 17일
댓글: Walter Roberson 2023년 4월 20일
How do I plot this on matlab?
heeelllppp.png

답변 (2개)

Walter iacomacci
Walter iacomacci 2019년 10월 17일
Hey There.
If the function you want to plot is y=0.5*((t/2)+1) , this is a way to do it on MATLAB
t=linspace(0,100,1000)
y=0.5*((t/2)+1)
plot(t,y)
  댓글 수: 3
Walter iacomacci
Walter iacomacci 2019년 10월 17일
Hi Aaron, Even with the new formatting i can't understand if the X you have there is a variable or no, and if it is so you must assign values like t to make an appropiate plot.
So in case you want X as a variable you can assign values with the linspace function like the same way showed in the answer above.
To know more about the linspace function you can visit the next link: Linspace
Aaron Abueg
Aaron Abueg 2019년 10월 17일
The y(t) function is 0.5 * x [of] (t/2+1).

댓글을 달려면 로그인하십시오.


DHARANIBOOPATHI
DHARANIBOOPATHI 2023년 4월 20일
x(t)=0.5ncos(2pift)
  댓글 수: 1
Walter Roberson
Walter Roberson 2023년 4월 20일
syms f n t real
x(t) = 0.5 * n * cos(2*pi*f*t)
x(t) = 
This can only be plotted if you have specific numeric values for f and n.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

태그

제품


릴리스

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by