필터 지우기
필터 지우기

Trying to add a Row to a nested table

조회 수: 4 (최근 30일)
Xymbu
Xymbu 2022년 10월 22일
댓글: Xymbu 2022년 10월 23일
I have been playing with data storage and was playing with a crypto API to try and figure out a good data storage method. I have a table that has tables within it it for each individual line item and am having trouble figureing out how to append a new row to each of the individual tables inside the overall table.
basically, what I want is to add a new row to each table such that the next iteration of the table each of those tables would be 2X26 tables instead of the 1X26 tables shown below.
To test this out im just trying to append each table with a duplicate of the row that exists in the file.
Ive attached the test matrix. Any help would be appreciated.
  댓글 수: 6
dpb
dpb 2022년 10월 22일
Not convinced. But it's too big to mess with as is...cut it down to a manageable size for development purposes and then show specifically what you're after that you think can't be done by flattening the table.
Xymbu
Xymbu 2022년 10월 23일
This is pretty much as simple as it gets. There are 100 currencies each with 26 metrics at discrete time steps. every iteration will add another set of the 26 metric values to each curreny. it can be tested on a single currency but that doesnt make the mechanics any simpiler.
I ended up doing it as nested structures instead of tables and connecting it to a cloud database. It works fine for anyone else seeing this that may have simliar questions.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

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

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by