문제를 풀었습니다


Find the mean of the magic x
Given a x term, find the magic x, then find the mean/average of any one row or column.

2년 초과 전

문제를 풀었습니다


nxn matrix with elements from 1:n^2
really simple once you see what the matrix is supposed to look like. i appreciate what seems to be a clever approach to solving ...

2년 초과 전

문제를 풀었습니다


Find alternating sum
Given an array, find alternating sum i.e. – y = x (1) – x (2) + x (3) – x (4) + x (5) - …

2년 초과 전

문제를 풀었습니다


Check for armstrong number
Given a number, check if it is an armstrong number. Eg: n = 371 Output: 1 Eg: n = 75 Output: 0

2년 초과 전

문제를 풀었습니다


Extract the prime numbers
Given a list of elements, extract the prime numbers from that array.

2년 초과 전

문제를 풀었습니다


How many offices does MathWorks have in the UK
Please write a function that returns the number of offices MathWorks has in the UK.

2년 초과 전

문제를 풀었습니다


Add Even and Subtract Odd Numbers in an Array
For an input array, add all the even values and subtract the odd values. This final value is the output. E.g. input = [1 2 3 4...

2년 초과 전

문제를 풀었습니다


Harmonic series counting
The function takes a positive limit as input, And counts how many terms must be summed in the harmonic series: 1/1, 1/2, 1/3, ...

2년 초과 전

문제를 풀었습니다


A times B
A times B

2년 초과 전

문제를 풀었습니다


Remove a specific row with max value
Remove the row that contain the max value in the matrix?

2년 초과 전

문제를 풀었습니다


Remove a specific row with min value
Remove the row that contain the min value in the matrix?

2년 초과 전

문제를 풀었습니다


Remove a specific column with max value
Remove the column that contain the max value in the matrix?

2년 초과 전

문제를 풀었습니다


Remove a specific column with min value
Remove the column that contain the min value in the matrix?

2년 초과 전

문제를 풀었습니다


Swap between first and last
The idea is to swap between first and last row Ex = [1 2 3 4 5; 1 2 3 4 5; 1 2 3 4 5; 1 2 3 4 5; ...

2년 초과 전

문제를 풀었습니다


Swap between first and last column
The idea is to swap between first and last column Ex = [1 2 3 4 5; 1 2 3 4 5; 1 2 3 4 5; 1 2 3 4 5; 1 2 3 ...

2년 초과 전

문제를 풀었습니다


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...

2년 초과 전

문제를 풀었습니다


Swap between rows
The idea is to swap between second and second last row Ex = [1 2 3 4 5; 5 4 3 2 1; 1 2 3 4 5; 1 2 3 4 5; ...

2년 초과 전

문제를 풀었습니다


Swap between columns
The idea is to swap between second and second last column Ex = [1 2 3 4 5; 1 2 3 4 5; 1 2 3 4 5; 1 2 3 4 5; ...

2년 초과 전

문제를 풀었습니다


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...

2년 초과 전

문제를 풀었습니다


Hemisphere Volume on Top of a Cylinder
This MATLAB function has to calculate the volume of a hemisphere placed on top of a cylinder, given valid inputs. It takes the r...

2년 초과 전

문제를 풀었습니다


Range of Values in a Matrix
Create a function that accepts a matrix of real numbers as input and returns the range of the values contained in the matrix. Th...

2년 초과 전

문제를 풀었습니다


Getting values from a vector
This exercise is for finding the values that meet your criteria. a = [-5 28 7 83 73]; b = 23 ; c = (a > b) Then : c = ...

2년 초과 전

문제를 풀었습니다


Determine pressure altitude using field elevation and altimeter setting
Given an airfield's elevation in feet (ft) and the current altimeter setting in inches of mercury (inHg), calculate the pressure...

2년 초과 전

문제를 풀었습니다


Determine ground distance from an aircraft to a DME station
In aviation, distance measuring equipment (DME) uses radio signals to determine slant distance from an aircraft to a ground stat...

2년 초과 전

문제를 풀었습니다


Basic Matlab Operation Bonanza
Given a horizontal array of numbers, perform the following operations, in order: transpose, flip matrix horizontally, flip matri...

2년 초과 전

문제를 풀었습니다


Palindrome vector
Check if a given vector is Palindrome. Example, [1 2 54 32 45 5 33 456 45 456 33 5 45 32 54 2 1]

2년 초과 전

문제를 풀었습니다


rotation et mise à l'échelle avec des complexes
Ecrire une fonction Zr=scale_rot(A,phi,Z) qui permet une mise à l'échelle d'un facteur A et une rotation d'un angle phi (en rad)...

2년 초과 전

문제를 풀었습니다


Find mass of single floor in building
A model building has three floors are highlighted in different colours here: Assu...

2년 초과 전

문제를 풀었습니다


Lancer de dés
Ecrire une fonction qui imite le lancer d'un dé, i-e qui renvoie de façon aléatoire un entier entre 1 et 6. Attention cette fon...

2년 초과 전

문제를 풀었습니다


Neural Net: Back Propagation of Quad Output with Bias, ReLU
This challenge is to return the WH_delta and WP_delta, given X, WH, WP, EPY using ReLU on the hidden layer and Softmax on the ou...

2년 초과 전

더 보기