If you have a table called table1 with column names X1, X2, X3, how can you access a column X1 with the variable v = 'X1'?
MATLAB: How to access a table column using a string of the column name
datasetMATLABstruct
Related Question
- How do you order table columns based on a vector with their names
- MATLAB 上で指定したエクセルファイルのみを閉じることはできますか?
- How to split a table into multiple sub-tables based on the frequency of a variable
- How to create a pictogram in MATLAB
- How to assign a value to a field in a multi-level struct when the field name is contained in a variable
- How to use custom date labels for the x-axis in MATLAB plots
- How to transpose a dataset or table
- Fiiting curve column by column for given data matrix in MATLAB R2014a
Best Answer