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

6 visualizzazioni (ultimi 30 giorni)
James Water Bird
James Water Bird il 25 Feb 2021
Modificato: KALYAN ACHARJYA il 25 Feb 2021
x = linspace(-1,1,100)
what is w
  1 Commento
KALYAN ACHARJYA
KALYAN ACHARJYA il 25 Feb 2021
Modificato: KALYAN ACHARJYA il 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

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Resizing and Reshaping Matrices in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by