create a script for w = x^2cos(1/x)
Show older comments
x = linspace(-1,1,100)
what is w
1 Comment
KALYAN ACHARJYA
on 25 Feb 2021
Edited: KALYAN ACHARJYA
on 25 Feb 2021
w is the output result.
x = linspace(-1,1,100);
w=x.^2.*cos(1./x);
plot(x,w);
Do google MATLAB Onramp
Answers (0)
Categories
Find more on Resizing and Reshaping Matrices 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!