how to plot red of the matrix
5 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
a = [1 1 0; 0 0 0; 0 0 1;]; idx = find(a==1); % linear coordinates [I,J] = ind2sub(size(a),idx);
how to plot red the result of find..?
0 Commenti
Risposte (2)
Azzi Abdelmalek
il 3 Dic 2013
Modificato: Azzi Abdelmalek
il 3 Dic 2013
a = [1 1 0; 0 0 0; 0 0 1;];
[I,J]=find(a==1)
scatter(I,J)
0 Commenti
Vedere anche
Categorie
Scopri di più su Scatter Plots in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!