how to plot red of the matrix
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (2)
Azzi Abdelmalek
am 3 Dez. 2013
Bearbeitet: Azzi Abdelmalek
am 3 Dez. 2013
a = [1 1 0; 0 0 0; 0 0 1;];
[I,J]=find(a==1)
scatter(I,J)
0 Kommentare
Siehe auch
Kategorien
Mehr zu Scatter Plots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!