Feeds
답변 있음
如何给Cell中的每个元素reshape(不想用for)。
用 cellfun 可以实现, 举个例子把: A = {rand(1,9),rand(1,9),rand(1,9)} cellfun(@(x) reshape(x, 3, 3).', A, 'UniformOutput', false)
如何给Cell中的每个元素reshape(不想用for)。
用 cellfun 可以实现, 举个例子把: A = {rand(1,9),rand(1,9),rand(1,9)} cellfun(@(x) reshape(x, 3, 3).', A, 'UniformOutput', false)
거의 3년 전 | 0
| 수락됨

