Question
I want ask your help on setting my target for a given data. This is my first time using the Neural Network Pattern Recognition tool. I need to have a target ouput from 0 to 4 which from 303 samples and 14 attributes. The input patterns I selected is from the data set value. I tried to put the target according to below but there is keep saying it cannot run because it is not same with the number of samples. How can I solve this problem? 0 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 I really need you to answer the question as possible.
Expert Answer
Neeta Dsouza
PhD Expert
Answered Aug 13, 2026
Try This:
size(input) = [ 14 303 ] size(target) = [ 4 303 ]
100% Run Guarantee
3-Hour Fast-Track Delivery
Need a Custom Version or Complete Simulation for This Problem?
Our 500+ PhD engineers build, debug, and optimize working MATLAB scripts and Simulink (.slx) models tailored to your exact assignment rubrics with zero plagiarism.
Tested on MATLAB R2024b / R2026a
Turnitin 0% Plagiarism Report
Free 7-Day Revisions Guarantee
Have a different question? Ask here
Related deep learning Questions & Solutions
Browse All →
Explore similar technical troubleshooting questions and verified MATLAB solutions:
Ready-to-Run MATLAB & Simulink Projects
Browse All Projects →