arrange an array(1xn) to (rxc)
2 次查看(过去 30 天)
显示 更早的评论
Hi guys,
I have a program this program sums 4 value and this program add sums of 4 value to a new set
This set exist 81 colons
My quastion is how can ı separete to create a matrice every 9 step so there are 9colons and 9rows in new matrice
Thanks.
2 个评论
James Tursa
2020-4-7
Please provide a short example with smaller sizes so we know exactly what it is you are asking.
采纳的回答
James Tursa
2020-4-7
编辑:James Tursa
2020-4-7
Not sure how you want the output ordered. Maybe this
A = reshape(m,9,9);
or this
A = reshape(m,9,9).';
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Descriptive Statistics 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!