How to call a function containing large dataset of inputs and target attribute in matlab function block
function y=RefGen(u1,u2)
[u1,u2,yd]=dsdata();
x=[u1 u2];
Here u1 and u2 are inputs and y is the output,
dsdata() is the function to be called in the matlab function block
u1 and u2 will assign the input vectors containing 100 samples each and yd will assign the target attribute
x is the input matrix containing u1 and u2 inputsfunction y=RefGen(u1,u2)
[u1,u2,yd]=dsdata();
x=[u1 u2];
Here u1 and u2 are inputs and y is the output,
dsdata() is the function to be called in the matlab function block
u1 and u2 will assign the input vectors containing 100 samples each and yd will assign the target attribute
x is the input matrix containing u1 and u2 inputs function y=RefGen(u1,u2)
[u1,u2,yd]=dsdata();
x=[u1 u2];
Here u1 and u2 are inputs and y is the output,
dsdata() is the function to be called in the matlab function block
u1 and u2 will assign the input vectors containing 100 samples each and yd will assign the target attribute
x is the input matrix containing u1 and u2 inputs solar pv mppt, matlab, simulink, ann, neural network simulink in matlab MATLAB Answers — New Questions