Undefined function 'sum' for input arguments of type 'cell'.

4 visualizaciones (últimos 30 días)
Balaji M. Sontakke
Balaji M. Sontakke el 29 de Feb. de 2020
Comentada: Balaji M. Sontakke el 1 de Mzo. de 2020
Undefined function 'sum' for input arguments of type 'cell'.
Error in mean (line 116)
y = sum(x, dim, flag)/size(x,dim);
Error in ccaFuse (line 69)
meanX = mean(trainX);
Error in CCA_feature_fusion (line 19)
[trainZ,testZ] = ccaFuse(trainX, trainY, testX, testY, 'concat');
%% program
clc;
clear all;
load('db4.mat');
load('db6.mat');
load('db3.mat');
load('db5.mat');
trainX =reduced_traindata;
trainY = reduced_traindata;
testX = reduced_testdata;
testY = reduced_testdata;
[trainZ,testZ] = ccaFuse(trainX, trainY, testX, testY, 'concat');
  3 comentarios
Balaji M. Sontakke
Balaji M. Sontakke el 1 de Mzo. de 2020
where is accept answer button?

Iniciar sesión para comentar.

Respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by