how to select column from Table and create variable

22 ビュー (過去 30 日間)
khalil ur Rehman
khalil ur Rehman 2019 年 4 月 23 日
コメント済み: khalil ur Rehman 2019 年 4 月 23 日
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.

採用された回答

Stephan
Stephan 2019 年 4 月 23 日
編集済み: Stephan 2019 年 4 月 23 日
Time = Trans{:,1:4};
Los = Trans{:,5};

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMatrices and Arrays についてさらに検索

製品


リリース

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by