Hello everyone. I have a file .data and I need to convert it to an array. How can this be done?
3 views (last 30 days)
I opened the file using "importdata" function, but it was created as a cell and I need it to be an array because I will applying the Principal component analysis.
The data in this file appears in this format
I'm using the Iris flower data set or Fisher's Iris data set, this is a multivariate data set that consists of 50 samples from each of three species of Iris (Iris setosa, Iris virginica and Iris versicolor).
Link for dataset: https://archive.ics.uci.edu/ml/datasets/iris
Chunru on 18 Sep 2022
x = readtable("iris.dat")