문제를 풀었습니다


counting groups!
This problem is about counting groups. Example If you have x: x = [0.8 0.8 0.8 0.3 0.3 0.4 0.5 0.6 0.6 0.9] then a...

대략 10년 전

문제


counting groups!
This problem is about counting groups. Example If you have x: x = [0.8 0.8 0.8 0.3 0.3 0.4 0.5 0.6 0.6 0.9] then a...

대략 10년 전 | 2 | 솔버 수: 128

질문


calllib issue... library not found...
For some reason I have an error that says "Error using calllib Library was not found" yet I know it is in the MATLAB generals f...

대략 10년 전 | 답변 수: 3 | 0

3

답변

문제를 풀었습니다


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

10년 초과 전

문제를 풀었습니다


Return a list sorted by number of occurrences
Given a vector x, return a vector y of the unique values in x sorted by the number of occurrences in x. Ties are resolved by a ...

10년 초과 전

질문


plotyy is not working properly???
Well I have an application for "plotyy" function, So I find if I ever zoom in anywhere on the plot, one of the axis stick in a z...

10년 초과 전 | 답변 수: 3 | 0

3

답변

문제를 풀었습니다


Finding neighbors of [-1:1] in a matrix....
Hello All! Well I found this one fun to figure out, all you have to do is make a matrix of 1's or 0's (true or false) that sh...

10년 초과 전

문제


Finding neighbors of [-1:1] in a matrix....
Hello All! Well I found this one fun to figure out, all you have to do is make a matrix of 1's or 0's (true or false) that sh...

10년 초과 전 | 2 | 솔버 수: 73

질문


Reading in a document full of code
I'm building a program to read in some code for Accelerator physics and I really do not know how to start reading the files into...

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

1

답변

문제를 풀었습니다


Reverse Run-Length Encoder
Given a "counting sequence" vector x, construct the original sequence y. A counting sequence is formed by "counting" the entrie...

10년 초과 전

문제를 풀었습니다


Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

10년 초과 전

문제를 풀었습니다


Project Euler: Problem 1, Multiples of 3 and 5
If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23...

10년 초과 전

문제를 풀었습니다


De-dupe
Remove all the redundant elements in a vector, but keep the first occurrence of each value in its original location. So if a =...

10년 초과 전

문제를 풀었습니다


Counting Money
Add the numbers given in the cell array of strings. The strings represent amounts of money using this notation: $99,999.99. E...

10년 초과 전

질문


Can this function work any faster?
Hello All, Well I'm making a function that takes about 0.022 seconds to complete, I need to try to make it even less time then ...

10년 초과 전 | 답변 수: 2 | 1

2

답변

질문


Image Processing 2d gaussian...
Hello All, I'm working on a fast image processing method that can be used for finding the main part of an beam image (like a ...

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

1

답변

문제


Oh Zero Zero Zero!!!
Hello all, So you have to find the largest section of zeros in a vector and then find the length of those zeros and there start...

10년 초과 전 | 13 | 솔버 수: 371

문제를 풀었습니다


Oh Zero Zero Zero!!!
Hello all, So you have to find the largest section of zeros in a vector and then find the length of those zeros and there start...

10년 초과 전

질문


signal in and signal out need to be shifted to match one another...
Hello All, Well I have a signal in and a signal out, I would like to very quickly overlap(as best as possible) them. I just ne...

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

1

답변

질문


Makeing two vectors dimentionaly equal, while retaining the info...
Hello All, Well I have a issue that is seemingly easy, but is not so easy when I'm working on it. I produce 2 column vectors, ...

10년 초과 전 | 답변 수: 2 | 0

2

답변

질문


x axis label issue...
Hello All, Well I'm not sure how to change the x label at specific points. The code below generates a similar structure to wh...

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

1

답변

질문


Need help inproveing function...
Hello Everyone, I have a function that looks at a vector of numbers and will mark any numbers in that vector that repeat with t...

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

1

답변

문제를 풀었습니다


Find same numbers touching each other...
So the goal here is to find any number that is equal to its immediate neighbors and mark it true. Here is some examples: x...

10년 초과 전

문제


Find same numbers touching each other...
So the goal here is to find any number that is equal to its immediate neighbors and mark it true. Here is some examples: x...

10년 초과 전 | 0 | 솔버 수: 55

문제를 풀었습니다


Balanced number
Given a positive integer find whether it is a balanced number. For a balanced number the sum of first half of digits is equal to...

10년 초과 전

문제를 풀었습니다


Replace NaNs with the number that appears to its left in the row.
Replace NaNs with the number that appears to its left in the row. If there are more than one consecutive NaNs, they should all ...

10년 초과 전

문제를 풀었습니다


inner product of two vectors
inner product of two vectors

10년 초과 전

문제를 풀었습니다


Pangrams!
A pangram, or holoalphabetic sentence, is a sentence using every letter of the alphabet at least once. Example: Input s ...

10년 초과 전

문제를 풀었습니다


Quote Doubler
Given a string s1, find all occurrences of the single quote character and replace them with two occurrences of the single quote ...

10년 초과 전

문제를 풀었습니다


radius of a spherical planet
you just measured its surface area, that is the input.

10년 초과 전

더 보기