How to plot difference of two functions in matlab?
8 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Nitigya Joshi
el 25 de Abr. de 2021
Comentada: Nitigya Joshi
el 25 de Abr. de 2021
1. Given u[n] the unit step sequence, using the stem function plot the following :-
• u[n - 3] - u[n - 8]
• u[8 - n] - u[4 - n]
• u[6 - n]
0 comentarios
Respuesta aceptada
Walter Roberson
el 25 de Abr. de 2021
f1 = @(x) sin(3*x)
f2 = @(x) sin(8*x)
f3 = @(x) f1(x) - f2(x)
fplot(f3, [-10 10])
Más respuestas (0)
Ver también
Categorías
Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!