how to select column from Table and create variable

23 Ansichten (letzte 30 Tage)
khalil ur Rehman
khalil ur Rehman am 23 Apr. 2019
Kommentiert: khalil ur Rehman am 23 Apr. 2019
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.

Akzeptierte Antwort

Stephan
Stephan am 23 Apr. 2019
Bearbeitet: Stephan am 23 Apr. 2019
Time = Trans{:,1:4};
Los = Trans{:,5};

Weitere Antworten (0)

Kategorien

Mehr zu MATLAB finden Sie in Help Center und File Exchange

Produkte


Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by