ARRANGE DATA IN MATLAB
이전 댓글 표시
How can I make one row of data to multiple row and column in MATLAB?
답변 (2개)
It depends on the result you want —
v = 1:10
vm1 = repmat(v, 10, 1)
vm2 = v(:) * v
Other possibilities also exist.
.
Not sure what you mean since it's ambiguous. You probably skipped reading the Community Guidelines. Here, read this:
Star gave one possibility and here is another
data = 1:50 % Make one row of data
% Make into a matrix of 5 rows and 10 columns
M = reshape(data, 5, [])
카테고리
도움말 센터 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!