why Matlab websave function doesn't work?

4 visualizzazioni (ultimi 30 giorni)
MD Anower Hossain
MD Anower Hossain il 28 Nov 2020
whats wrong with this ??? my matlab version is R2014a.
url = 'http://archive.ics.uci.edu/ml/machine-learning-databases/00236/seeds_dataset.txt';
websave('seeds_dataset.csv',url);
varnames = {'Area'; 'Perimeter'; 'Compactness'; 'LengthK'; 'WidthK';'AsymCoef';'LengthKG';'Seeds'};
Seeds_dataset = readtable('Data/seeds_dataset.csv');
Seeds_dataset.Properties.VariableNames = varnames;
MissingValue = ismissing(Seeds_dataset);
RowsMissValue = find(any(MissValue==1,2));
Seeds_dataset = rmmissing(Seeds_dataset);
VarMeas = table2array((Seeds_dataset(:,1:7)));
SeedClass = table2array((Seeds_dataset(:,8)));
plotmatrix(VarMeas)
r = corr(VarMeas);
[coeff,score,latent,tsquared,explained,mu] = pca(VarMeas);
coeff
size(VarMeas)
size(score)
gscatter(score(:,1),score(:,2),SeedClass,'brg','xo^')
latent
plot(latent)
xlabel('Principal Component')
ylabel('Variance Explained ')
biplot(coeff(:,1:2),'scores',score(:,1:2),'varlabels',varnames(1:7));
this is the out put

Risposte (1)

Ameer Hamza
Ameer Hamza il 28 Nov 2020
websave() was introduced in R2014b. There is no way to use it in R2014a.

Community Treasure Hunt

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

Start Hunting!

Translated by