Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function [totalProfit] = compute(p,exit)
- %% Declaration of variables
- entry=0;
- T = length(data);
- .
- .
- .
- end
- T = evalin('caller','length(data)')
- function [totalProfit] = compute(p,exit,data)
- T = length(data) ;
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement