Feeds
문제를 풀었습니다
Question 1
Implement a function named q1 with one input argument named n. This function should return the multiplication of all odd numbers...
40분 전
문제를 풀었습니다
Identify the sequence
Given a row vector, x, return 1 if it is an arithmetic series, or 2 if it is a geometric series. If it is neither, return 0. ...
대략 1시간 전
문제를 풀었습니다
replace nan values iteratively.
replace nan values with the average of two neighbour non-nan value iteratively as follow; x = [2; 4; 6; nan; nan; nan; 10]; ...
대략 2시간 전
문제를 풀었습니다
Mr. Pyramidad & Ms. Whissy Bolower
Businessman Mr. B. M. Pyramidad was drinking with his new girlfriend Ms. Whissy Bolower. He disclosed to her that he has an ille...
대략 2시간 전
문제를 풀었습니다
Breaking Bad Tiles (Spelling with Element Symbols)
Given a word, how you would spell it with element symbols from the periodic table? For instance, if given the string "Paper", yo...
대략 23시간 전
문제를 풀었습니다
combine cells
A cell type variable is created. However it has other cells in itself. we want to integrate them all in a single cell. the conte...
대략 23시간 전
문제를 풀었습니다
The Python Challenge, Level 1: Decode strings
This problem is based on <http://www.pythonchallenge.com/pc/def/map.html Level 1 of The Python Challenge>, which is just a serie...
대략 23시간 전
문제를 풀었습니다
Ring Matrix
Given n (only odd), return output matrix a that has concentric rings of the numbers 1 through (n+1)/2 around the center point. ...
대략 23시간 전
문제를 풀었습니다
Find the right x in a 1. order Polynomal (y = m*x+c)
Given two points in a Cartesian coordinate system, find the x-value, where polynomial of 1. order (y = m*x+c) is equal to a giv...
대략 23시간 전
문제를 풀었습니다
Check if a year is a leap year or not
Return 1 if a given year is a leap year or 0 if it is not
대략 23시간 전
문제를 풀었습니다
Cell Array Inception?
Jimmy is a beginning MATLAB student who is trying to read in a text file and build a cell array of strings, where A{k} is the kt...
대략 24시간 전
문제를 풀었습니다
Hofstadter Q sequence
The Hofstadter Q sequence is defined as follows: The first elements of the sequence are 1, 1, 2, 3, 3, 4, 5, 5, 6, 6. Write ...
대략 24시간 전
문제를 풀었습니다
Calculate Reynolds Number
Write a MATLAB function that calculates the Reynolds number for flow over a flat plate: ρ = fluid density (kg/m³) V = veloc...
대략 24시간 전
문제를 풀었습니다
A "Complex" Converter: Rectangular Form <-> Polar Form
*BACKGROUND / MOTIVATION:* Complex numbers can be an important tool in an electrical engineer's toolbox because they can help...
대략 24시간 전
문제를 풀었습니다
Brain Teaser Solver
Write an algorithm to solve this brain teaser: You have a square that is broken into four triangles, the area of three of tho...
대략 24시간 전
문제를 풀었습니다
Substring Extraction
In a given string, find the substring between Start_string and End_string. You will have to include or exclude the Start_str...
1일 전
문제를 풀었습니다
Coin Distribution - 02
Prev prob <https://www.mathworks.com/matlabcentral/cody/problems/45385-coin-distribution> Given a set of coins and an amount,...
1일 전
문제를 풀었습니다
Return the names and values of the input arguments of a function
Given a function name, return the names and values of the input arguments. e.g. function_name(arg1, arg2) is a function de...
1일 전
문제를 풀었습니다
Find my secret function I
If give my function a x value it will give me a y value, so find the secret of it: Examples: input x=[2 5 6 8 9] ---- >>> o...
2일 전
문제를 풀었습니다
Get chain of consecutive characters
Write a function that will output a chain of consecutive characters, given 2 letters as input. It has to work backwards too. Exa...
2일 전
문제를 풀었습니다
Compute circular convolution
In signal processing, we usually encounter the circular convolution case. Compute it here using the two input sequences (denoted...
2일 전
문제를 풀었습니다
What is Title of Cody Challenge 42?
Given a Cody Challenge number return its Title. *Input:* Cody Challenge Number *Output:* Title of the Cody Challenge ...
3일 전
문제를 풀었습니다
Calculate Lift Force on an Airfoil
Write a MATLAB function to calculate the lift force acting on an airfoil given the air density, wing area, velocity of the airfl...
3일 전
문제를 풀었습니다
Easy Sequences 28: Sum of Radicals of Integers
The radical of a positive integer is defined as the product of the distinct prime numbers dividing . For example, the distinct ...
8일 전
문제를 풀었습니다
Easy Sequences 27: Product of Radicals of Integers
The radical of a positive integer is defined as the product of the distinct prime numbers dividing . For example, the distinct ...
8일 전
문제를 풀었습니다
Easy Sequences 31: N-N's Sequence
We define the N-N's Sequence, as the series of all positive integers in ascending order and with repetition, wherein any number ...
8일 전
문제를 풀었습니다
Easy Sequences 25: Product of Series
The function 'P(n)' is defined as the series product: where 'T(n)' is the triangular sum: ...
8일 전
문제를 풀었습니다
Easy Sequences 24: Number of Coprime Lattice Points
Given a number 'n', you were tasked to mark and count all coprime lattice points at the first quadrant bounded by the points (0,...
8일 전
문제를 풀었습니다
Easy Sequences 21: Combinatorial Summations
Create the function S(n), defined by the following summation: The symbol is the combination f...
8일 전











