Info

此问题已关闭。 请重新打开它进行编辑或回答。

how to find out sub 3 dimensional matrix in large one

1 次查看(过去 30 天)
I want find location of sub 3 dimensional matrix in large one Example
a= [1 2 3; 2 3 4; 3 4 5]
a(:,:,2)= [1 2 3; 2 3 4; 3 4 5]
b=[3 4; 4 5]
b(:,:,2)=[3 4; 4 5]
if subfind(a,b) find out at location (2, 2,2)
please help me
  2 个评论
Guillaume
Guillaume 2017-5-1
There is no matlab support team on this forum. We're just random volunteers who answer questions that they find interesting.
Questions that are trivial to solve or where the person asking does not appear to have made any effort towards finding a solution are often not interesting

回答(1 个)

KSSV
KSSV 2017-5-1
  1 个评论
xuan hau nguyen
xuan hau nguyen 2017-5-1
please ! you carefully read my question, my problem find out sub 3 dimension in large 3 dimension matrix.
two answers of you, the first only find location of elements in sub matrix and the second find out in 2 dimensions

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by