Feeds
문제를 풀었습니다
Play Oware with the digits of a number
Oware is a pit and pebble game that consists of two sets of pits or houses filled with pebbles or seeds. During a turn, a player...
3일 전
문제를 풀었습니다
Determine Matrix Dimensions Without Using some built-in MATLAB functions, version 2
Write a function that takes a 2D matrix/1D vector x as input and returns a row vector containing the number of rows and the numb...
9일 전
문제를 풀었습니다
Sum all elements of a vector or matrix without using sum()
Write a function that computes the sum of all elements of the input array v without using the built-in sum function. The input ...
10일 전
문제를 풀었습니다
Determine Matrix Dimensions Without Using some built-in MATLAB functions
Write a function that takes a 2D matrix/1D vector x as input and returns a row vector containing the number of rows and the numb...
11일 전
문제를 풀었습니다
Determine Matrix Dimensions Without Using size or length
Write a function that takes a matrix A as input and returns a row vector containing the number of rows and the number of columns...
12일 전
문제를 풀었습니다
Where is the number that you want to find?
For a given matrix A, find where the input number x appears. Do this task by returning the vector which contains the row and th...
26일 전
문제를 풀었습니다
Simulate full-stop emergency braking scenario.
Emergency braking events demand rapid deceleration to bring the vehicle safely to rest. Given initial vehicle speed and constant...
27일 전
문제를 풀었습니다
Filled Diamond Pattern
Create an N×N binary matrix that forms a filled diamond shape centered in the matrix. The diamond expands symmetrically toward t...
대략 1개월 전
문제를 풀었습니다
Hollow Diamond Pattern
Create an N×N matrix that forms a hollow diamond shape using 1s, leaving the interior empty. This challenge emphasizes boundary ...
대략 1개월 전
문제를 풀었습니다
Concentric Squares Mandala
Generate concentric square rings of alternating 1s and 0s to form a layered mandala-style matrix. e.g. N = 5; 1 1 1 1 1;...
대략 1개월 전
문제를 풀었습니다
Diagonal Cross Mandala
Generate an N×N matrix with diagonals highlighted to form an artistic X-shaped mandala pattern. e.g. N = 5; 1 0 0...
대략 1개월 전
문제를 풀었습니다
Circular Ring Approximation Mandala
Generate a matrix that approximates a circular ring using distance-based thresholding , a visually rich mandala-inspired challen...
대략 1개월 전
문제를 풀었습니다
Plus Cross Mandala
Create a symmetrical plus (+) shaped pattern centered in an N×N matrix.
대략 1개월 전
문제를 풀었습니다
Vertical Mirror Mandala
Create a symmetric left-right mirrored pattern in an N×N matrix to emulate mandala reflection symmetry. e.g. N = 5; ...
대략 1개월 전
문제를 풀었습니다
Hourglass Mandala
Generate an hourglass shape using matrix geometry and symmetry. e.g. N = 5; 1 1 1 1 1; 0 1 1 1 0; ...
대략 1개월 전
문제를 풀었습니다
Starburst Mandala
Create a mandala starburst using diagonal and orthogonal symmetry in a matrix.
대략 1개월 전
문제를 풀었습니다
Rotating the plane region bounded by two polynomials
Let p and q be n-degree and m-degree polynomials with n >= m >= 1. Consider clockwise rotate the plane region bounded by these t...
대략 1개월 전
문제를 풀었습니다
Spiral Mandala
Generate a clockwise spiral pattern using 1s in an N×N matrix to create an intricate mandala effect. e.g. N = 5; y_correct...
대략 1개월 전
문제를 풀었습니다
Built-out FFTShift
The task in hand is to replicate the built-in function - fftshift (with single input), but without using the function. However,...
대략 1개월 전
문제를 풀었습니다
Find record values in a sequence
Write a function to find the record values in a sequence—that is, the largest values seen since the start. For example, if the s...
대략 2개월 전
문제를 풀었습니다
Gather primes
A book titled Gather that I regularly see inspired this game: make as many words as possible from the letters in the word GATHER...
대략 2개월 전
문제를 풀었습니다
Sudoku square
We have a small Sudoku square, but one number is missing. x = [ 1 5 4 8 6 3 0 9 7 ] Make a function, wher...
대략 2개월 전
문제를 풀었습니다
Gene Duplication with Sequencing Errors
You are investigating the genome of the bacterium Codex matlabius. A virus that infects C. matlabius is known to insert long, re...
대략 2개월 전
문제를 풀었습니다
How Long is the Border Between Unitopia and Zerostan?
Two countries, Unitopia (denoted by ones) and Zerostan (denoted by zeros) are engaged in a long-standing dispute: how long is th...
2개월 전
문제를 풀었습니다
FEN to Chess Board
Note: This problem is the reverse, or complement, of Problem 61144 - FEN Chess Notation. Given a FEN (Forsyth-Edwards Notation)...
2개월 전
문제를 풀었습니다
Two Sum
Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target. You m...
2개월 전
문제를 풀었습니다
Container With Most Water
You are given an integer array height . There are vertical lines drawn such that the two endpoints of the ith line are (i, 1) an...
2개월 전
문제를 풀었습니다
Does the coin touch the line?
If we throw a coin that has a diameter of d, its center will land in a grid n x m. What is the probability that the coin land...
2개월 전
문제를 풀었습니다
Convert a diagonal representation of a matrix element to linear index or subscripts
Elements in matrices in MATLAB can be retrieved by linear index or subscripts. For example, the 1 in the matrix below has a line...
2개월 전
문제를 풀었습니다
Determine whether a number is a repfigit number
A sequence of numbers is constructed from a number with the following steps: List the digits of . Compute the ()st term as t...
2개월 전











