Plotting a cell array on Matlab
32 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hello guys
I have a cell array of size (1,181)
each element of this array is a 6*6 matrix
i want to plot only SOME coordinates of each matrix depending on the cell i am in.
I dont know how to choose elements from the matrices to plot them
Could you please help me
Thanks in advance
0 Kommentare
Antworten (1)
KALYAN ACHARJYA
am 13 Okt. 2019
Bearbeitet: KALYAN ACHARJYA
am 13 Okt. 2019
Let say cell arry is cell_data
for i=1:181
data=cell_data{i};
% Now data is first matrics of cell array
% You can acess the individual element of the matrics by data(i,j)
% here i row and j column
plot(data);
hold on
end
The following is still not clear to me-
i want to plot only SOME coordinates of each matrix depending on the cell i am in.
I hope you can incorporate it in the code.
Siehe auch
Kategorien
Mehr zu 2-D and 3-D 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!