Skip to content

Commit

Permalink
Char output for Xl
Browse files Browse the repository at this point in the history
  • Loading branch information
lmendo committed Aug 28, 2016
1 parent 5ef1fab commit 8a24b62
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 1 deletion.
Binary file modified doc/MATL_spec.pdf
Binary file not shown.
Binary file modified funDef.mat
Binary file not shown.
3 changes: 2 additions & 1 deletion funDef.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1212,8 +1212,9 @@ Yk 2 2 2 1 3 1 [false false true] true true true true x = in{1}(:).'; y = in{2}
clear x y ind dmin
Zk
l 0 inf 0 2 1 1 1 true true true true out{1} = ones(in{:}); array of ones \matlab+ones+ (if $0$ inputs: produces output $1$)
Xl 2 3 2 3 1 1 1 true true true true if numel(in)==2, z = bsxfun(@min, in{1}, in{2}); clamp (limit to a range) (i) With $2$ inputs, the minimum of the two inputs is computed, element-wise with singleton expansion. (ii) With $3$ inputs, the function computes the maximum between the first and the second, and then the minimum between that and the third, element-wise with singleton expansion. \sa \matl+X<+, \matl+X>+
Xl 2 3 2 3 1 1 1 true true true true if numel(in)==2, z = bsxfun(@min, in{1}, in{2}); clamp (limit to a range) (i) With $2$ inputs, the minimum of the two inputs is computed, element-wise with singleton expansion. (ii) With $3$ inputs, the function computes the maximum between the first and the second, and then the minimum between that and the third, element-wise with singleton expansion. (i, ii) Output is \matlab+char+ if first input is. \sa \matl+X<+, \matl+X>+
else z = bsxfun(@min, bsxfun(@max, in{1}, in{2}), in{3}); end
if ischar(in{1}), z = char(z); end
out{1} = z; clear z
Yl 1 2 1 2 1 1 1 true true true true if numel(in)==1, out{1} = log(in{1}); else out{1} = log(in{1})/log(in{2}); end logarithm \matlab+log+. If $2$ inputs: second input specifies logarithm base
Zl 1 1 1 1 2 1 true true true true [out{:}] = log2(in{:}); base 2 logarithm \matlab+log2+
Expand Down
Binary file modified help.mat
Binary file not shown.

0 comments on commit 8a24b62

Please sign in to comment.