Return a function handle that when applied to an input, it produces two outputs: the first is the same as the input, and the second is the element-wise square of the input.
Example:
f=f2f(); [a b]=f([1 2 3])
a = 1 2 3
b = 1 4 9
What is Function-name? is it f2f or f?
how does this work?
1055 Solvers
random picture with random colours
125 Solvers
Similar Triangles - find the height of the tree
156 Solvers
261 Solvers
Reverse the elements of an array
549 Solvers