Pulling Vectors From 3D Matrix Based on Indicies
이전 댓글 표시
I have a 10 page 3D matrix that I'm looking to pull vectors from specific indicies. For example i=13 and j=33. The end result from each sampling should be a column vector. What is the best way to accomplish this?
답변 (1개)
A = rand(30,40,10) ;
iwant = squeeze(A(13,33,:))
카테고리
도움말 센터 및 File Exchange에서 MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!