matrix plotting
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
If I have a matrix x=[1 2 3 4] and a vector y=[1 4 9 16] and make the matrix z=[x; y] what is the equivalent matrix plot of z to scatter(x,y).
0 commentaires
Réponse acceptée
Sean de Wolski
le 17 Mai 2011
scatter(z(1,:),z(2,:))
or
scatter(z(1:2:end),z(2:2:end))
%Sorry misread your inputs
Plus de réponses (0)
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!