For the following code below
clear;clc;x1=0:0.01:2; %need to fix this error
x2=0:0.01:2; %
hiddenLayer=3;input=combvec(x1,x2);target=5*input(1,:)+input(2,:).^3 ;net=fitnet(hiddenLayer); net.inputs{1}.processFcns={'mapminmax'};net.outputs{2}.processFcns = {'mapminmax'};net.inputs{1}.processParams{1}[net, tr]=train(net,input,target); input_setting=net.inputs.processSettings;output_setting=net.outputs.processSettings;
I am getting null net.inputs.processSettings when the variables x1 and x2 are set to these below values
x1=0:0.01:2;
x2=0:0.01:2;
For all other cases the values seems to coming out fine example
x1=0:0.01:3;
x2=0:0.01:3;
Best Answer