Help debugging my program for plotting ezplot of sin and cos
Show older comments
x=0:1:pi;
a=@(x) sin(pi*x);
y=@(x) cos(4*pi*x);
ezplot(a,0,2);
hold on;
ezplot(y,0,2);
Accepted Answer
More Answers (0)
Categories
Find more on MATLAB 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!