Feeds
문제를 풀었습니다
Find the longest sequence of 1's in a binary sequence.
Given a string such as s = '011110010000000100010111' find the length of the longest string of consecutive 1's. In this examp...
대략 1년 전
문제를 풀었습니다
Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the numbers. Otherwise return false. Example...
대략 4년 전
문제를 풀었습니다
The Goldbach Conjecture
The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...
대략 4년 전
문제를 풀었습니다
Flip the bit
Given an input character string (e.g. '1001'), return a character string with the bits flipped ('0110').
거의 6년 전
문제를 풀었습니다
Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...
거의 6년 전
질문
How can i speed up the following for loop?
Hi everyone, I have a large .bin file. I read the .bin file and swap the bytes by modulo 4 and write to txt file. For example ...
거의 6년 전 | 답변 수: 1 | 0
1
답변질문
How to get double array from string
Hi everyone, I have a edit box in which I want to enter an array like 1:5 or [1,2,3,5] or [1,2,3:6,9,12:15] . Since ...
대략 6년 전 | 답변 수: 1 | 0
1
답변문제를 풀었습니다
Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...
6년 초과 전
문제를 풀었습니다
Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...
6년 초과 전


