Code covered by the BSD License  

Highlights from
mergecellkey: Merge cell by key

image thumbnail

mergecellkey: Merge cell by key

by

 

mergecellkey: Merge cell by key

mergecellskey_d.m
% function mergecellskey_d
clc;    clear;  close all;

A = {'Year', 1979, 1980 1981 1982 ; 'a' ,1,5,2, 4; 'c', '4', '3', '4','9yy'}';
B = {'Year', 1980 1981 1982 1983; 'a' ,NaN,2,4,7 ; 'c', '3', '4', '677','pp'}';
C = mergecellskey(A,B,{'Year'});
showcell(C);

Contact us