Hi All
I have two data set as below
A =
Name subName Type Output Q1 Q2 Q3 Q4x y xy Person 3 4 5 6a b ab Animal 2 3 4 5m n mn Bird 1 2 3 4s t st None 9 9 9 9 x y NA All 1 1 1 1B = Name subName Type Output Q2 Q3x y xy Person -1 -1m n mn Bird -2 -2
and I want to replace A's value for given qtrs in B repalced with A so that my new set is
C = Name subName Type Output Q1 Q2 Q3 Q4x y xy Person 3 -1 -1 6a b ab Animal 2 3 4 5m n mn Bird 1 -2 -2 4s t st None 9 9 9 9 x y NA All 1 1 1 1
I tried using replacedata with variable names but it gives me error.
I am using Matlab 2013b
Best Answer