Extend the labels array to full 2D area
1 view (last 30 days)
Show older comments
I have a 2D data 460by950 and I reshaped it to 10by10by4370 and used it for Testing my network. The input is 10by10 matrix and the output is one label array 4370by1 categorical. I need to expand these labels to the original data size 460by950. data=reshape(data,10,10,[]); dim3= size(data,3); Label=[]; for i=1:dim3 YPred= classify(net,data(:,:,i)); Label=[Label;YPred]; end
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!