MATLAB: Concatenation between two value image processingmathematics Hi, i have an example value 0.7854 and 2.8284. Then i want to concatenation them to get value of vectors. So, how to solve it using matlab code. Best Answer vec(1) = 0.7854 ;vec(2) = 2.8284 ;orvec = [0.7854 2.8284 ] ; Related SolutionsMATLAB: Concatenation a = str2double(arrayfun(@(x)sprintf('%d',a(x,:)),(1:size(a,1))','un',0))varianta = str2double(regexprep(cellstr(num2str(a)),' ','')) MATLAB: Concatenation by exchange between two matrices c =[0 0 1 1 0 0 1 1 0 0 1 1];d =[0 1 1 0 0 1 1 0 0 1 1 0];n=numel(c)m=numel(d)if n>m d(end+1:n)=nanelseif n<m c(end+1:m)=nanendx=[c; d]x=x(:)'x(isnan(x))=[] Related QuestionConcatenation of two histogramConcatenation ProblemHow to find distance between 2 points of a imageMatrix concatenation
Best Answer