필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

How i make the code for transpose matrix data iteratively

조회 수: 1 (최근 30일)
지원 정
지원 정 2022년 1월 13일
마감: Rik 2022년 1월 13일
i don't know how i make the code for transpose matrix data iteratively
I have 60 matrix data, but i want to this 3x167 form
how i make the code?
#I don't know the type of data to be entered after transpose.
Can you explain the principle of separating 'NF' and (i)?
for i=1:60
eval(['NF',num2str(i)]) = transpose(???)
end
  댓글 수: 2
Rik
Rik 2022년 1월 13일
Why did you decide to use numbered variables? This only makes processing harder and is (almost) never needed.
If you had been using a cell array, a trivial loop would do it, no weird eval calls required.
Stephen23
Stephen23 2022년 1월 13일
편집: Stephen23 2022년 1월 13일
Duplicate, with answer & discussion on why this is a slow, complex, inefficient approach to data design:

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by