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

6 vues (au cours des 30 derniers jours)
James Water Bird
James Water Bird le 25 Fév 2021
x = linspace(-1,1,100)
what is w
  1 commentaire
KALYAN ACHARJYA
KALYAN ACHARJYA le 25 Fév 2021
Modifié(e) : KALYAN ACHARJYA le 25 Fév 2021
w is the output result.
x = linspace(-1,1,100);
w=x.^2.*cos(1./x);
plot(x,w);
Do google MATLAB Onramp

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Resizing and Reshaping Matrices dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by