TANSIG function for validation of data...???
Show older comments
I want to simulate the data using TANSIG function.
% matlab*.m
%Access array weights_input=wi=(1:31); bias_input=bi=(1:1); weights_output=(1:1); bias_output=bo=(1:1); validation_data=Xin=(9:31);
%TANSIG Simulation for i=1:9 Y1=tansig(Xin(i,:)*wi(1:31)+bi(1:1)) Result = tansig(Y1*wo(1:1)+bo(1:1))
What should the output of above program...???
My expected output is : Result(9:1) array but it is giving Result(9:31) of array.
Can you help me...??? Where I am doing wrong...??
Answers (0)
Categories
Find more on Numbers and Precision in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!