Community Profile

# CAM

Last seen: 4일 전 2012년부터 활동

All

배지 보기

#### Content Feed

보기 기준

질문

Running compiled AppDesigner app. Error finding getRunningApp
I am running a compiled GUIDE program. (This is a very large, complex legacy program). We wanted to add a custom pop-up window...

대략 2개월 전 | 답변 수: 1 | 0

### 1

답변

문제를 풀었습니다

How long is the longest prime diagonal?
Stanislaw Ulam once observed that if the counting numbers are arranged in a spiral, the prime numbers contained in it form a sur...

3개월 전

문제를 풀었습니다

Find a subset that divides the vector into equal halves
Given a vector x, return the indices to elements that will sum to exactly half of the sum of all elements. Example: Inpu...

10개월 전

문제를 풀었습니다

Make a run-length companion vector
Given a vector x, return a vector r that indicates the run length of any value in x. Each element in r shows how many times the ...

10개월 전

문제를 풀었습니다

How many trades represent all the profit?
Given a list of results from trades made: [1 3 -4 2 -1 2 3] We can add them up to see this series of trades made a profit ...

10개월 전

문제를 풀었습니다

Use of regexp
Given a string, containing several sentences, such as: 'I played piano. John played football. Anita went home. Are you safe?...

10개월 전

문제를 풀었습니다

QWERTY Shift Code Decoder
Decode a string encoded using the QWERTY shift code. QWERTY shift code is where the message was touch typed but with an offse...

10개월 전

문제를 풀었습니다

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

10개월 전

문제를 풀었습니다

Reverse the Words (not letters) of a String
*Description* Change the words of a string such that the words appear in reverse order. You may assume that the string is a n...

10개월 전

문제를 풀었습니다

QWERTY Shift Encoder
Encode a string using the QWERTY shift code. This code is where you touch type but are offset by one character to the right. O...

10개월 전

문제를 풀었습니다

Guess Cipher
Guess the formula to transform strings as follows: 'Hello World!' --> 'Ifmmp Xpsme!' 'Can I help you?' --> 'Dbo J ifm...

10개월 전

문제를 풀었습니다

Calculate the Hamming distance between two strings
Inspired by a similar Cody problem found <http://www.mathworks.com/matlabcentral/cody/problems/93-calculate-the-levenshtein-dist...

10개월 전

문제를 풀었습니다

letter yes yes & letter no no
Split a string into two strings, wherein the first string has all alphabetic letters and the second string has all the remaining...

10개월 전

문제를 풀었습니다

Space Saver
Remove all characters that are below a space in ASCII value.

10개월 전

문제를 풀었습니다

Flag largest magnitude swings as they occur
You have a phenomenon that produces strictly positive or negative results. delta = [1 -3 4 2 -1 6 -2 -7]; Marching through thi...

11개월 전

답변 있음
I am having empty cells while saving the extracted features inside loops
You never tell Matlab to put the next value of Extracted into a new cell. I.e., you have not increased the cell array index wit...

12개월 전 | 0

답변 있음
Finding minimum within a set of rows below a certain point?
I suggest using the find command (with Z>=2) with row & column as outputs. Find the min and max column values and their associa...

대략 1년 전 | 0

답변 있음
calculate the maximum of every 24 data in matrices
Have you considered reshaping the 2D matrix into a 3D matrix -- (number of sensors) x 24 x days? Then you could use max for eac...

대략 1년 전 | 1

답변 있음
Show only amount of n values on a continuous plot
I presume that you are reading the serial data into a timetable or set of vectors (Time, Data, ...). Instead of plotting the wh...

대략 1년 전 | 0

답변 있음
Overlay a scatterplot of continuous data with boxplots summarizing groupings of the same data
Have you tried plotting the boxplot on the secondary y-axis and hide its x-labels?

대략 1년 전 | 0

답변 있음
Importing .mat files in a loop
for z=1:20 filename = ['data_', num2str(z)]; s(z) = load(filename); % Load variables into a structure end

대략 1년 전 | 1

| 수락됨

답변 있음
How to stop a for loop by press a button APP designer ?
Make the Stop button a toggle button. Within the FOR loop, check the status of the Stop button. If it is toggled-on, then brea...

1년 초과 전 | 0

| 수락됨

질문

stack command errors with multiple column variables of different data types
I have a table (imported from a poorly-designed spreadsheet) with repeated column variables I would like to stack. The fields a...

1년 초과 전 | 답변 수: 1 | 0

### 1

답변

문제를 풀었습니다

Chess probability
The difference in the ratings between two players serves as a predictor of the outcome of a match (the <http://en.wikipedia.org/...

거의 2년 전

문제를 풀었습니다

Determine the number of odd integers in a vector
Determine the number of unique odd integers in a vector. Examples: Input x = [2 5 8 3 7 1]; Output y = 4; Inp...

거의 2년 전

문제를 풀었습니다

Insert zeros into vector
Insert zeros after each elements in the vector. Number of zeros is specified as the input parameter. For example: x = [1 ...

거의 2년 전

문제를 풀었습니다

Rotate input square matrix 90 degrees CCW without rot90
Rotate input matrix (which will be square) 90 degrees counter-clockwise without using rot90,flipud,fliplr, or flipdim (or eval)....

거의 2년 전

문제를 풀었습니다

Matrix with different incremental runs
Given a vector of positive integers a = [ 3 2 4 ]; create the matrix where the *i* th column contains the vector *1:a(i)...

거의 2년 전

문제를 풀었습니다

Make an awesome ramp for a tiny motorcycle stuntman
Okay, given a vector, say v=[1 3 6 9 11], turn it into a matrix 'ramp' like so: m=[1 3 6 9 11; 3 6 9 11 0; 6 9 ...

거의 2년 전

문제를 풀었습니다

Flip the main diagonal of a matrix
Given a n x n matrix, M, flip its main diagonal. Example: >> M=magic(5); >> flipDiagonal(M) 9 24 1 ...

거의 2년 전