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

3 Ansichten (letzte 30 Tage)
James Water Bird
James Water Bird am 25 Feb. 2021
Bearbeitet: KALYAN ACHARJYA am 25 Feb. 2021
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

Mehr zu Resizing and Reshaping Matrices finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by