It will look something like
reshape(perms(pidx(:),:).',size(pidx,2)*size(perms,2),[]).'
but I didn't bother testing it out to be sure it gets everything in the right place (it's my bedtime.)
Info
此问题已关闭。 请重新打开它进行编辑或回答。
此问题已关闭。
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!