Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if length(x) ~= length(fx)
- error('Inputs are not the same length');
- end
- if isvector(x) ~= 1
- error('Input x is not a vector');
- end
- if isvector(fx) ~= 1
- error('Input fx is not a vector');
- end
- if isnumeric(x) ~=1
- error('x does not contain numeric values');
- end
- if isnumeric(fx) ~=1
- error('fx does not contain numeric values');
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement