clc;
clear all;
close all;
syms x w
X = (sin(w))/w;
X1 = ifourier(X)
x = -10:0.01:10;
X1 = -(pi*heaviside(x - 1) - pi*heaviside(x + 1))/(2*pi);
figure (1)
ezplot (X1,[-10 10]);
title ('ezplot');
figure (2)
plot(x,X1);
title ('plot');
Hi, I'm new to Matlab since I want to plot the inverse Fourier transform of the signal X(ω) = sin(ω)/ ω using both plot and ezplot, I got the plot part but the ezplot keep giving the error that ' Input must be a character vector expression, function name, function handle, or INLINE object.' Please help
댓글 수: 0
댓글을 달려면 로그인하십시오.