why Matlab websave function doesn't work?

조회 수: 3 (최근 30일)
MD Anower Hossain
MD Anower Hossain 2020년 11월 28일
댓글: MD Anower Hossain 2020년 11월 28일
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

답변 (1개)

Ameer Hamza
Ameer Hamza 2020년 11월 28일
websave() was introduced in R2014b. There is no way to use it in R2014a.

카테고리

Help CenterFile Exchange에서 String Parsing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by