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

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

1 Kommentar

KALYAN ACHARJYA
KALYAN ACHARJYA am 25 Feb. 2021
Bearbeitet: KALYAN ACHARJYA am 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

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Tags

Gefragt:

am 25 Feb. 2021

Bearbeitet:

am 25 Feb. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by