Add data from one input file to another

조회 수: 1 (최근 30일)
Francesca Danielli
Francesca Danielli 2021년 12월 3일
답변: Jon 2021년 12월 3일
Hi,
I have an input file A (generated in Abaqus) and two input files B, C.
B contains only the list of nodes present in A + additional nodes (the number of nodes in B is bigger than the the number of nodes in A. In any case, each node is identified by the three spatial coordinates).
C contains only the list of elements present in A (the number of elements in C is equal to the number of nodes in A, but the elements in C are identified by three nodes while the elements in A are identified by two nodes).
Now, I want to add the list of nodes of B in A and the list of elements of C in A.
Any suggestion?
Thank you in advance!

답변 (1개)

Jon
Jon 2021년 12월 3일
I think you should be able to get the sets of data that you want using MATLAB's ismember and intersect
Is that what you are asking, or are you having problems maniuplating the files?

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by