답변 있음
[DISCONTINUED] MATLAB Answers Wish-list #2 (and bug reports)
*Syntax Highlighting* In the meantime, I created a userscript that applies MATLAB syntax highlighting using google-code-prett...

13년 초과 전 | 2

문제를 풀었습니다


Check if number exists in vector
Return 1 if number _a_ exists in vector _b_ otherwise return 0. a = 3; b = [1,2,4]; Returns 0. a = 3; b = [1,...

13년 초과 전

문제를 풀었습니다


How many monitors are connected ?
How to obtain the numbers of monitors connected to your computer ?

13년 초과 전

문제를 풀었습니다


Find the list of all open files
In the test suite, I use <http://www.mathworks.com/help/matlab/ref/fopen.html fopen> to create new files. The task is to find th...

13년 초과 전

문제를 풀었습니다


Find files with extension ext in the current directory
List all files with extension 'ext' in the current directory. Return a char matrix with the name of files in rows. Return 0 if...

13년 초과 전

문제를 풀었습니다


Community Problem 500!
In honor of this being the 500th Community problem, see if you can create a function that has a Cody size of 500. It can do any...

13년 초과 전

문제를 풀었습니다


Functionality 1
It's all about functionality. *Cheating is allowed but not required*

13년 초과 전

문제를 풀었습니다


hackathon impossible
You might have found a solution to our <http://www.mathworks.com/matlabcentral/cody/problems/205-hackathon-the-beginnings previo...

13년 초과 전

문제를 풀었습니다


the return of the hackathon
You might have found a solution to our <http://www.mathworks.com/matlabcentral/cody/problems/205-hackathon-the-beginnings previo...

13년 초과 전

문제를 풀었습니다


magic solver
Create a function that returns _true_ and has a cody <http://www.mathworks.com/matlabcentral/cody/problems/256-return-the-size-o...

13년 초과 전

문제를 풀었습니다


Fix y_correct : Hack
The Test Suite has an error. Fix the y_correct value. (See the tags for hints)

13년 초과 전

문제를 풀었습니다


Become the leader
The goal of this problem is the same as the goal of the rest of them: *become the leader*. Actually, you can only solve this ...

13년 초과 전

문제를 풀었습니다


Now!
I said now!

13년 초과 전

문제를 풀었습니다


Hackathon: the beginnings
I am thinking of a number between 1 and 10000... can you guess what this number is? *Description* The test suite has rando...

13년 초과 전

문제를 풀었습니다


Pull the variable y_correct from the Caller's Workspace
*Description* This highlights a very easy to use and high-scoring cheat that can be used on almost all Cody questions.

13년 초과 전

문제를 풀었습니다


Cody Computer Part 4 : Are you a morning Cody player Addicted ?
This is a stupid Cody challenge. You just have to *click "Submit" between 7 and 9 AM.* ... Greenwich Mean Time (GMT). To see ...

13년 초과 전

문제를 풀었습니다


Who knows the last digit of pi?
There is only one man who knows the last digit of pi, who is that man? Give the name of that man, who, by popular believe, can ...

13년 초과 전

문제를 풀었습니다


High school cafeteria
Given an input vector of positive integers, return a row vector with the primes first (in increasing order) and the composites n...

13년 초과 전

문제를 풀었습니다


Distance walked 3D
suppose you go from x-y-z coordinates [3,4,2] to [0,0,2] to [0,1,2] to [1,1,2], to [1,1,20] then you walked 25 units of distance...

13년 초과 전

문제를 풀었습니다


Filter AC, pass DC
Input x is the sampled signal vector, may have both AC and DC components. Output vector y should not contain any AC component. ...

13년 초과 전

문제를 풀었습니다


Tell me the slope
Tell me the slope, given a vector with horizontal run first and vertical rise next. Example input: x = [10 2];

13년 초과 전

문제를 풀었습니다


pressure to dB?
given x ratio of pressure, find corresponding y dB

13년 초과 전

문제를 풀었습니다


give nth decimal place of pi
max 15th place after the decimal point is ok for now

13년 초과 전

문제를 풀었습니다


Project Euler: Problem 8, Find largest product in a large string of numbers
Find the greatest product of five consecutive digits in an n-digit number. 73167176531330624919225119674426574742355349194934...

13년 초과 전

문제를 풀었습니다


Project Euler: Problem 5, Smallest multiple
2520 is the smallest number that can be divided by each of the numbers from 1 to 10 without any remainder. What is the smalle...

13년 초과 전

문제를 풀었습니다


Project Euler: Problem 2, Sum of even Fibonacci
Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 te...

13년 초과 전

문제를 풀었습니다


Project Euler: Problem 7, Nth prime
By listing the first six prime numbers: 2, 3, 5, 7, 11, and 13, we can see that the 6th prime is 13. What is the Nth prime nu...

13년 초과 전

문제를 풀었습니다


Implement simple rotation cypher
If given a letter from the set: [abc...xyz] and a shift, implement a shift cypher. Example: 'abc' with a shi...

13년 초과 전

문제를 풀었습니다


Duplicate each element of a vector.
for an n-dimensional vector x, the function should return another vector 2n-dimension which each element is repeated twice. Ex...

13년 초과 전

문제를 풀었습니다


Add more zeros
Find code that adds one 0 to each sequence of 0 in a string (composed with only 0 or 1). For example: '1010' -> '100100' ...

13년 초과 전

더 보기