Feeds
문제를 풀었습니다
Form a square matrix from four square sub-matrices
Create a square matrix, y, from 4 square sub-matrices that will be constructed (x1, x2, x3, x4): y = [x1 x2; x3 x4]; ...
2개월 전
문제를 풀었습니다
Check if a matrix is a palindrome in all directions
Check if a matrix is a palindrome both vertically and horizontally. You function will return *true* for |[1,2,1]| or |[2,7,2;...
2개월 전
문제를 풀었습니다
Dice face matrix!
This is dice simulator, but instead of making a random die number, you will receive an "pre-rolled" number in and spit out a mat...
3개월 전
문제를 풀었습니다
Make a diamond
Given n, odd number > 1, return n by n matrix consist of "null" and "*" characters arranged like a diamond. No toolbox funct...
3개월 전
문제를 풀었습니다
Column Removal (★★★)
(copy of prob 7) Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2...
3개월 전
문제를 풀었습니다
Remove entire row and column in the matrix containing the input values
Remove the entire row and column from the matrix containing specific values. The specified value can be a scalar or a vector. Fo...
3개월 전
문제를 풀었습니다
remove every row&col for every nan
for a given matrix, remove the row and column of every nan. Example x=[1 2 NaN 4 5 6 7 8 ...
3개월 전
문제를 풀었습니다
Remove all the columns contains only zero
Remove the column from the matrix which has only zeros . Refer the Example below a= 1 0 3 0 23 0 56 0 1 ...
3개월 전
문제를 풀었습니다
Find Rows with Specift Properities
Delete rows with specific properites as following: Find rows that have a negative value in any element of the row and delete it...
3개월 전
문제를 풀었습니다
Remove a specific column with min value
Remove the column that contain the min value in the matrix? If you like the problem, please give it a like:)
3개월 전
문제를 풀었습니다
Remove a specific column with max value
Remove the column that contain the max value in the matrix? If you like the problem, please give it a like:)
3개월 전
문제를 풀었습니다
Remove a specific row with min value
Remove the row that contain the min value in the matrix? If you like the problem, please give it a like:)
3개월 전
문제를 풀었습니다
Remove a specific row with max value
Remove the row that contain the max value in the matrix? If you like the problem, please like it :)
3개월 전
문제를 풀었습니다
Find x rows where the sum of the numbers is the maximum
Find x rows where the sum of the numbers is the maximum. For example: when x is 2 and m is 2 3 5 0 2 3 5 5 6 0 9 4 then y =...
3개월 전
문제를 풀었습니다
Flip the diagonal values
Write a program that flip the elements of main diagonal , upper and lower diagonal values of a sqare matrix. For example if a ...
3개월 전
문제를 풀었습니다
Remove a specific character with another
Remove any (-) dash sign with (_) underscore Ex = 'The-Journey-of-thoudsands-miles-starts-with-a-single-step' y = 'The_Jour...
4개월 전
문제를 풀었습니다
Flip the bit
Given an input character string (e.g. '1001'), return a character string with the bits flipped ('0110').
4개월 전
문제를 풀었습니다
Flipping
Write code that can reverse the vector without using any sort of loop. Example Given the input vector A = [ 1 2 3 4 5...
4개월 전
문제를 풀었습니다
Flipping a Matrix
Flipping matrix up and down. If a central row is exists, leave it, and flip remaining rows. Example Mat = magic(3) ...
4개월 전