Error using plot ; spectrum of function
Show older comments
Why I get error using the following code?
syms t w;
syms g h;
g=fourier(exp(-1*(t^2)));
h=abs(g);
w=-10.1:10.1;
plot(w,h);
Accepted Answer
More Answers (1)
Karan Gill
on 1 Nov 2017
Plot symbolic functions by using fplot.
fplot(h)
1 Comment
geometry geometry
on 1 Nov 2017
Categories
Find more on Line Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!