How to simulate a neural network with multiple inputs?

I want to simulate a feedforward neural network function approximation with 3 inputs and 1 output, using "sim".
Inputs are in a single matrix P=3x200 like this:
-0,913562110156178 -0,0162574697296392 -0,381475124730110 0,921963579110850 .... %200 elements in each row
-0,700281347065181 0,860956138791766 0,755557883852976 0,0202261796420851 ....
0,980353564366057 -0,890954009336161 -0,926431057331990 0,825679256897664 .....
When I write this, I get a 1x200 matrix :
simul_net= sim(net,P);
But when I when I put in the function the matrix P as an input I get a 3x200 matrix as output.
How can I get a 3x200 matrix using "sim" in order to aggre with the output of the function?

Réponses (0)

Catégories

En savoir plus sur Deep Learning Toolbox dans Centre d'aide et File Exchange

Produits

Question posée :

le 12 Mai 2021

Community Treasure Hunt

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

Start Hunting!

Translated by