ploting graph which includes sin and vectors

Hi how can i plot a graph of 't' against 'x' whet t= -2.5:0.25:2.5; y is a vector too represented by y=exp(-t.^2); and x is represented as the sum(x(n)*sin(t-n)/(t-n) when n goes from 0 to length of(t)
here is my code:
clear all close all t= -2.5:0.25:2.5; y=exp(-t.^2); x=0; for n=1:length(t) x=x+y(n)(sin(t-n))/(t-n); end x=0.25*x; plot(t,x) xlabel('t'); ylabel('x(t)'); title('GIMEL: Reconstructed Signal');

Respuestas (0)

La pregunta está cerrada.

Etiquetas

Preguntada:

el 4 de Dic. de 2011

Cerrada:

el 20 de Ag. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by