how to add a column to a tall table?

4 ビュー (過去 30 日間)
sani
sani 2020 年 5 月 15 日
Hi,
I want to add a column of "1" to a tall table, but getting this error : "Indexed assignments of the form T(...,...) = B are not supported for tall table."
This is the first time i'm using tall arrays, tried applaying the tall indexing help but with no sucsess...
this is my code:
Ge_table(Ge_table.energy < 0, :) = []; %remove bad events in HPGe
Ge_table.ColumnNew = tall('detector'); % this was a try to create a new column
Ge_table.detector = {1};
Ge_table.Properties.VariableNames{4} = 'detector'; %this is another try as the in-memory method

回答 (0 件)

カテゴリ

Help Center および File ExchangeTall Arrays についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by