2D plot of x*sin(1/x)
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
x = [-1/pi:0.01:1/pi];
y = x*(sin(1/x));
plot(x,y)
Réponse acceptée
Plus de réponses (1)
Walter Roberson
le 15 Déc 2020
y = x.*(sin(1./x));
In MATLAB the * operator is algebraic matrix multiplication (inner product) and the / operator is matrix division (which is similar to matrix multiplication by pinv() of the array)
0 commentaires
Voir également
Catégories
En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!