how to select column from Table and create variable

22 visualizaciones (últimos 30 días)
khalil ur Rehman
khalil ur Rehman el 23 de Abr. de 2019
Comentada: khalil ur Rehman el 23 de Abr. de 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.

Respuesta aceptada

Stephan
Stephan el 23 de Abr. de 2019
Editada: Stephan el 23 de Abr. de 2019
Time = Trans{:,1:4};
Los = Trans{:,5};

Más respuestas (0)

Categorías

Más información sobre Matrices and Arrays en Help Center y File Exchange.

Productos


Versión

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by