Create a table with headers and fill in the table with calculations

214 ビュー (過去 30 日間)
Craig Stevens
Craig Stevens 2020 年 7 月 7 日
回答済み: Image Analyst 2020 年 7 月 7 日
I want to create a table with headers/variables "std, mean, max". i currently have conducted calculations on the raw data giving me a [1x20] double for each of these headers/columns. I want to fill in the table with these doubles/caclulations. Thank you.
  2 件のコメント
Image Analyst
Image Analyst 2020 年 7 月 7 日
Do you mean a table variable, like you'd create with
t = table(theStd(:), theMeans(:), theMaxes(:), 'VariableNames', {'std', 'mean', 'max'});
or do you mean like a spreadsheet on a GUI?
Craig Stevens
Craig Stevens 2020 年 7 月 7 日
Nope that works, Thanks!

サインインしてコメントする。

回答 (1 件)

Image Analyst
Image Analyst 2020 年 7 月 7 日
Try this:
t = table(theStd(:), theMeans(:), theMaxes(:), 'VariableNames', {'std', 'mean', 'max'});

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by