Find and replace chunk of elements in a table which matches a chunk in another table

1 view (last 30 days)
I have a test data in table format (table A) and re-test data in also table format (say table B).
The re-test is a partial re-test, so B is not the same size as A.
A and B has common table headers.
What identifies the re-tested entities in B are the elements three table headers, say B (:, 9 :11).
B (:, 9 :11) is a subset of A(:, 9 :11). (A(:, 9 :11) being larger in size than B (:, 9 :11))
Both B(:, 9) (& A(:, 9)) are chacater data type while B(:, 10:11) (& A(:, 10:11)) are type double.
I need to find the row indices of A for which A(:, 9 :11) == B(:, 9 :11) and then replace the entire data chunk for these indices in A with the entire data in B,
I am strugging with find and replace and would appricatite some help.
Thanks.

Answers (0)

Categories

Find more on Migrate GUIDE Apps in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!