Too many input arguments error
Show older comments
i have my function testnetwork
function result = TestNetwork(network, input)
result = input;
b= [-1 -1 -1 -1 ];
% Iterate over all the couches
for i=1:length(network.couches)
result = network.activation(matrix_multiplication_same_dimension(network.couches{i} , vertcat ( result , b)));
end
end
and this is my main
% initialis a cell of zeros for example output = zeros_quat(zeros(1, 2)) is equal to [0 0 0 0] [0 0 0 0]
output = zeros_quat(zeros(10, size(testset,2)));
%
for i = 1:size(testset, 2)
output {:,i} = TestNetwork(network, testset{:,i});
end
end
why i get this error thank for helping me
Accepted Answer
More Answers (0)
Categories
Find more on Predictive Maintenance Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!