Feeds
문제를 풀었습니다
Determine the number of odd integers in a vector
Determine the number of unique odd integers in a vector. Examples: Input x = [2 5 8 3 7 1]; Output y = 4; Inp...
8개월 전
문제를 풀었습니다
Find last zero for each column
Given a numeric array of arbitrary size, return the row index of the last zero for each column. If a column contains all nonzero...
8개월 전
문제를 풀었습니다
Is A the inverse of B?
Given a matrix A and a matrix B, is A the inverse of B? >>A=[2,4;3,5]; >>B=[-2.5,2;1.5,-1]; >>isInverse...
10개월 전
문제를 풀었습니다
Rotate Matrix @180 degree
Rotate Matrix @180 degree Example A=[8 1 6; 3 5 7; 4 9 2], then answer would be [2 9 4;...
10개월 전
문제를 풀었습니다
Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.
10개월 전
문제를 풀었습니다
Calculate the average value of the elements in the array
Calculate the average value of the elements in the array
10개월 전
문제를 풀었습니다
the average value of the elements
Calculate the average value of the elements in the array
10개월 전

