create a script for w = x^2cos(1/x)

x = linspace(-1,1,100)
what is w

1 Comment

w is the output result.
x = linspace(-1,1,100);
w=x.^2.*cos(1./x);
plot(x,w);
Do google MATLAB Onramp

Sign in to comment.

Answers (0)

Categories

Tags

Asked:

on 25 Feb 2021

Edited:

on 25 Feb 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!