??? Undefined function or method 'expand' for input arguments of type 'double'.
Error in ==> cnnbp at 26
net.layers{l}.d{j} = net.layers{l}.a{j} .* (1 - net.layers{l}.a{j}) .* (expand(net.layers{l + 1}.d{j},[net.layers{l +
1}.scale net.layers{l + 1}.scale 1]) / net.layers{l + 1}.scale ^ 2
Error in ==> cnntrain at 17
net = cnnbp(net, batch_y);
Error in ==> test_example_CNN at 29
cnn = cnntrain(cnn, train_x, train_y, opts);
Error in ==> cnnbp at 26
net.layers{l}.d{j} = net.layers{l}.a{j} .* (1 - net.layers{l}.a{j}) .* (expand(net.layers{l + 1}.d{j},[net.layers{l +
1}.scale net.layers{l + 1}.scale 1]) / net.layers{l + 1}.scale ^ 2
Error in ==> cnntrain at 17
net = cnnbp(net, batch_y);
Error in ==> test_example_CNN at 29
cnn = cnntrain(cnn, train_x, train_y, opts);