How to change the independent variable?
2 views (last 30 days)
Show older comments
x=linspace(0,1,1024);
n=1:1024;
f(n)=2.*x.*x.*cos(12.*pi.*x).*(1-x).^4;
plot(f)
The image is not made with x as the independent variable.How can I solve this problem?Thanks!
0 Comments
Answers (1)
See Also
Categories
Find more on Scatter 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!