how to select column from Table and create variable

21 vues (au cours des 30 derniers jours)
khalil ur Rehman
khalil ur Rehman le 23 Avr 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.

Réponse acceptée

Stephan
Stephan le 23 Avr 2019
Modifié(e) : Stephan le 23 Avr 2019
Time = Trans{:,1:4};
Los = Trans{:,5};

Plus de réponses (0)

Catégories

En savoir plus sur Matrices and Arrays dans Help Center et File Exchange

Produits


Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by