MATLAB: Add a matrix behind another addmatrix hellow, little noob question but i cant find it fast. I got two matrices and need to have 1 matrix the first followed by the second 🙂 thxxx Best Answer doc cat Abstacked = cat(3,A,B); Related SolutionsMATLAB: Comparision of two different cell arrays and save in two different matrices result1=a(ismember(a,b)).'result2=a(~ismember(a,b)).' MATLAB: Add shapefile behind an Image clc; clear all ;file = 'cpc_rfe_v2.0_sa_dly.bin.20020101.nc' ;lon = ncread(file,'lon') ;lat = ncread(file,'lat') ;RF = ncread(file,'RF') ;%path = [pwd filesep 'India State wise with telangana' filesep 'india27-11.shp'] ;S = shaperead(path) ;n = length(S) ;x = zeros(n,1) ; y =zeros(n,1) ;pcolor(lon,lat,RF') ; shading interp ;hold onfor i = 1:n x = S(i).X ; y = S(i).Y ; plot(x,y,'k') % rfi = interp2(lon,lat,RF',x,y) ;end Related QuestionOpen/create a figure behind anotherBoucle for add the element behind
Best Answer