how to recall matrix in nntool
3 views (last 30 days)
Show older comments
how to recall a 120x2 dimension matrix in MATLAB in nntool
0 Comments
Answers (1)
Ayush Aniket
on 7 May 2025
If the requirement is to import your 120x2 dimension matrix, you can easily do so using the Import button on the left upper corner of the Neural Net Fitting app after defining your matrix in the base workspace.
However, note that the rows of a matrix are mapped as features, the columns are mapped as obseravtions and you should have atleast 10 obseravtions in you data. If you try to import your data in its current shape, it will give you an error becuase there are only 2 columns.
Considering, the 120 rows in your matrix correspond to observations, you can transpose your matrix and then import it using the tool. Refer the following documentation link to read about the import process: https://www.mathworks.com/help/deeplearning/gs/fit-data-with-a-neural-network.html#UsingTheNeuralNetworkFittingAppExample-1
0 Comments
See Also
Categories
Find more on Deep Learning 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!