Determine if all elements are odd
Given an array, return true if all of the elements are odd.
ex.
x = [3 4 1]
allOdd(x)
ans = false
ex.
x = [3 5 7;
5 9...
fast 4 Jahre vor
Gelöst
Parallel vectors
Return true or false depending on whether 2 vectors are parallel or not. Vectors can be 2 or 3 dimensional. The origin is not c...
fast 4 Jahre vor
Gelöst
Sums of Multiple Pairs of Triangular Numbers
This is a follow-up to <https://www.mathworks.com/matlabcentral/cody/problems/44289 Problem 44289> - Find two triangular numbers...