covert into 3D array
Info
This question is closed. Reopen it to edit or answer.
Show older comments
hey i have a 2D array having many elements like this:
y=[4,1,1; 4,1,1; 4,1,1; 3,1,1; 4,1,-1; 3,1,-1; 4,1,1]
& a cell array:
x{1,1}={4;4}
x{2,1}{4;[3;4];[3;4]}
i want to compare elements of x with 1st column of y and convert that array into a 3D array accordingly.
thanks in advance.
1 Comment
Tha saliem
on 15 Apr 2017
Answers (0)
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!