Neural network fitting function

Hi! It could be a trivial question. But being new to Matlab I facing a huge problem. I want to fit my one dimension data (X - Y) (39 points) by using a NN fit and then want to use the fitted function to get the value of Y at different value of X. Now using nn toolbox (nftool) I tried to fit the function. RMS error is negligible small. I generated the matlab function (genfunction). But now I dont know how to use the function to get the value of Y at X= 1.25. Could any one please suggest me to solve the problem. Thanks in advance Tanmoy Roy
function [Y,Xf,Af] = myNeuralNetworkFunction(X,~,~)
%MYNEURALNETWORKFUNCTION neural network simulation function.
% % Generated by Neural Network Toolbox function genFunction, 27-Jun-2017 18:27:50. %
% [Y] = myNeuralNetworkFunction(X,~,~) takes these arguments: %
% X = 1xTS cell, 1 inputs over TS timesteps
% Each X{1,ts} = 39xQ matrix, input #1 at timestep ts. %
% and returns:
% Y = 1xTS cell of 1 outputs over TS timesteps.
% Each Y{1,ts} = 39xQ matrix, output #1 at timestep ts. %
% where Q is number of samples (or series) and TS is the number of timesteps.

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Deep Learning Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by