How do i extract data from each group separately and plot
3 ビュー (過去 30 日間)
古いコメントを表示
U have attached the excel spreadsheet to this document and i want to extract the data from the Time course of logmIKI f(mean and s.e.m.) for each group separately, overlaping in the same figure. PLEASEEE HELP!
Thank you in advance
0 件のコメント
採用された回答
Walter Roberson
2022 年 4 月 15 日
filename = 'https://www.mathworks.com/matlabcentral/answers/uploaded_files/965825/advancedstats2.csv';
t = readtable(filename);
t.Properties.VariableNames
G = findgroups(t.group);
output = splitapply(@(subj, group, trial, logmIKI) {table(subj, group, trial, logmIKI)}, t, G)
output{1}(1:10,:)
5 件のコメント
Walter Roberson
2022 年 4 月 16 日
stackedplot() does not offer any way to plot with different sizes of variables.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Environment and Settings についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!