MATLAB: Save a table result maxtable Hi all, I have 2 questions. 1- how can I save the Matlab table? 2- how can I calculating the min, max from a specific column in the table with its index and create another new one (with those data are extracted)? Thank you Best Answer 1- Use "save" to save any variable (including tables) in workspace. For example, save the table "T" in the file "savefile.mat".T = array2table(rand(5,10));save('savefile.mat', 'T')2- For example, let say you would like to find the minimum in the second column and remove the related raw from the table: T = array2table(rand(5,10)); T1 = T; [~, minraw] = min(T1{:,2}); T1(minraw,:)=[]; Related SolutionsMATLAB: Table: Overwrite column value with condition This might work:myTable.a(myTable.a < 3) = 0; MATLAB: Convert a table of tables in a single table Okay, what you have is new in R2020a. Here is an example:a{1}=table(rand(9,1));a{2}=table(rand(9,1));b=cellfun(@table2array,a,'UniformOutput',false);c=cell2mat(b);d=table(c) Related QuestionHow to save table with data in columns instead of one long rowDelete all rows in cell array based on valueSave the table to a specific folderHow to insert a n x m matrix or table, into an existing tableHi! I have 2 tables and I would like to extract the rows in table A if the 2nd column of table A contains any of the values in table B. They are both formatted as tables. Any help would be great! Thank you very much!Does table creation produce error “VariableNames property must contain one name for each variable in the table”
Best Answer