Question
I have a 16x100x150 double, C. The first column 16 represents an individual coordinate, where Cdelete allows me to get a 1x100x150 double where it can plot a colour map around the Coordinate 1 as the squeeze turns it into 100x150. How do I plot all 16 coordinates into the same figure where it goes through Coord 1, Coord 2, and so on? The eventual goal is to generate a colour map coming from each coordinate ALL in the same figure. Cdelete = [2:16] C(Cdelete,:,:) = []; Cplot = squeeze(C); figure(3) imagesc(xMap,yMap,Cplot)
Expert Answer
Kshitij Singh
PhD Expert
Answered Aug 20, 2026
figure
hold on
for i = 1:16
cplot = squeeze(C(i,:,:)) ;
pcolor(xMap+i,yMap,cplot) ; %<--- you need to think of xMap and yMap
end
100% Run Guarantee
3-Hour Fast-Track Delivery
Need a Custom Version or Complete Simulation for This Problem?
Our 500+ PhD engineers build, debug, and optimize working MATLAB scripts and Simulink (.slx) models tailored to your exact assignment rubrics with zero plagiarism.
Tested on MATLAB R2024b / R2026a
Turnitin 0% Plagiarism Report
Free 7-Day Revisions Guarantee
Have a different question? Ask here
Related matrix Questions & Solutions
Browse All →
Explore similar technical troubleshooting questions and verified MATLAB solutions:
Ready-to-Run MATLAB & Simulink Projects
Browse All Projects →