Showing posts with label Neural Networks: MATLAB. Show all posts
Showing posts with label Neural Networks: MATLAB. Show all posts

Monday, October 29, 2018

Neural Networks: MATLAB

Neural Networks: MATLAB


func='tansig'

func = 'tansig'

>> p=[2 3]

p = 2     3

>> activation_potential=p*w'+b

activation_potential =-1

>> neuron_output=feval(func,activation_potential)

neuron_output = -0.7616

>> [p1,p2]=meshgrid(-10:.25:10);

 >> z=feval(func,[p1(:) p2(:)]*w'+b);
>> z = reshape(z,length(p1),length(p2));
>> plot3(p1,p2,z)

>> grid
>> grid on
>> xlabel('Input 1')
>> ylabel('Input 2')
>> zlabel('Neuron output')

neural network,artificial neural network,matlab,matlab neural network,neural network in matlab,matlab (programming language),neural networks,artificial neural networks,neural network (field of study),matlab neural networks,neural networks in matlab,neural network matlab,matlab neural network custom,matlab neural network toolbox,neural,matlab tutorial on neural network,matlab artificail neural network


Black-Scholes formula-R

 Black-Scholes formula-R > BlackScholes <- function(TypeFlag = c("c", "p"), S, X, Time, r, b, sigma) { TypeFla...