After creating and storing an ANN in Matlab (ANN Toolbox V 7.0) I tried to compute new predictions using a new set of input observations with: net(new_obs) the old Input Matrix was 1511x145, the new one is 100x145, observations are in rows each time. But the error message I get is now: ??? Error using ==> network.sim at 121 Number of inputs does not match net.numInputs. Error in ==> network.subsref at 14 [v,out2,out3] = sim(vin,subs{:}); In fact, the origin Input matrix does not work with this code either! I'm wondering if this error corresponds to the type of ANN I'm using since this one is a NARX. But I created a different ANN for a completely different purpose (Pattern Recognition with binary outcome) and there it works at a glance. :-/
Kshitij Singh answered .
2025-11-20
[145x1 double] [145x1 double] ... [145x1 double]
1511 times