Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
vectors that arent scalar
조회 수: 1 (최근 30일)
이전 댓글 표시
IM = [expt.IM];
memorability = [expt.memorability];
[~, idx] = sort(IM);
IM = IM(idx);
memorability = memorability(idx);
plot(IM, memorability)
this is my code, but IM is not scalar so my graph looks wonky, its putting
in my 1x960 array IM means Image
each IM 1-960 has a random number as the jpeg name. So the first IM is 588 (but this number means nothing!!!) how I can just either rename them to 1-960 or just keep the order what it is not by these names
댓글 수: 1
Walter Roberson
2019년 11월 15일
I answered this at https://www.mathworks.com/matlabcentral/answers/491202-how-to-get-struct-array-field-as-a-vector-and-compare-the-two-fields#comment_767505 before you posted this question.
답변 (0개)
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!