I have the following function:
u_1 = @(y) 2(1+y)/(4 + (1+y)^2);
I call it:
I get the following error:
index (1.2): subscripts must be either integers 1 to (2^63)-1 or logicals
error: called from
@<anonymous> at line 1 column 20
Any help would be greatly appriciated. Thank you.