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

조회 수: 1 (최근 30일)
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.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by