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

Réponses (2)

Walter iacomacci
Walter iacomacci le 17 Oct 2019

0 votes

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 commentaires

Aaron Abueg
Aaron Abueg le 17 Oct 2019
Hi,
I should have inputted it differently. Below is the correct formatting.
heeelllppp.png
Walter iacomacci
Walter iacomacci le 17 Oct 2019
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 le 17 Oct 2019
The y(t) function is 0.5 * x [of] (t/2+1).

Connectez-vous pour commenter.

DHARANIBOOPATHI
DHARANIBOOPATHI le 20 Avr 2023

0 votes

x(t)=0.5ncos(2pift)

1 commentaire

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.

Connectez-vous pour commenter.

Catégories

Produits

Version

R2018a

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by