how to select column from Table and create variable

22 visualizzazioni (ultimi 30 giorni)
Dear all,
Below is my code
clc;
close all;
clear all;
% Prepare DataSet
Trans = readtable('Ts_NData.csv');
Time = Trans(:, 1:4);
Los = Trans(:,5);
In this code Matlab create a new table not varibale. how i can create variable with this dataset.

Risposta accettata

Stephan
Stephan il 23 Apr 2019
Modificato: Stephan il 23 Apr 2019
Time = Trans{:,1:4};
Los = Trans{:,5};

Più risposte (0)

Categorie

Scopri di più su Matrices and Arrays in Help Center e File Exchange

Prodotti


Release

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by