Plot the function sin (x) on the interval [0, 5]. Now generate the discrete time signal from the sine function with 6 discrete values. Using this fundamental period, generate
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Plot the function sin (x) on the interval [0, 5]. Now generate the discrete time signal from the sine function with 6 discrete values. Using this fundamental period, generate
Réponses (1)
Sam Chak
le 23 Avr 2023
fcn = @(x) 2*x - x.*abs(x);
fplot(fcn, [-1 1])
grid on
title({'Plot of $y = 2 x - x |x|$ over $-1 \leq x \leq 1$'}, 'interpreter', 'latex')
xlabel('x')
ylabel('y')
0 commentaires
Voir également
Catégories
En savoir plus sur Signal Processing Toolbox dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!