how to add a column to a tall table?

조회 수: 2 (최근 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 CenterFile Exchange에서 Tall Arrays에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by