geieraffe
2012년부터 활동
Followers: 0 Following: 0
Feeds
문제를 풀었습니다
Who Has the Most Change?
You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...
대략 8년 전
문제를 풀었습니다
Back and Forth Rows
Given a number n, create an n-by-n matrix in which the integers from 1 to n^2 wind back and forth along the rows as shown in the...
대략 8년 전
문제를 풀었습니다
Most nonzero elements in row
Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...
대략 8년 전
문제를 풀었습니다
Function Iterator
Given a handle fh to a function which takes a scalar input and returns a scalar output and an integer n >= 1, return a handle f...
대략 8년 전
질문
How to create and rename a bus?
My actual question is: How can I assign a (new) name to a variable, whose name I do not know explicitly? But maybe some one...
8년 초과 전 | 답변 수: 0 | 1
0
답변질문
Why does 'filesep' not work with 'gcb'?
Hi, today a problem occurred, I thought it's kind of a no-brainer, but I was wrong: If I get the pathname of my current ...
거의 9년 전 | 답변 수: 2 | 0
2
답변문제를 풀었습니다
Add offset to a signal
Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/add-offset-eqn.png>> You should see a downward...
9년 초과 전
문제를 풀었습니다
Produce a sine wave
Produce a sine wave with amplitude 3: <<http://blogs.mathworks.com/images/seth/cody/sine-eqn.png>>
9년 초과 전
문제를 풀었습니다
Add a block to a model
Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/add-block-eqn.png>> In this case, the slope of...
9년 초과 전
문제를 풀었습니다
Produce a cosine wave
Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/cosine-eqn.png>>
9년 초과 전
문제를 풀었습니다
Connect blocks in a model
Connect the blocks in the model to produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/connect-blocks...
9년 초과 전
질문
assign loaded structs directly
I wonder, if there is no nicer way for doing this: mdlPara = load([datasetPath,datasetName]); rename = fieldnames(mdlPar...
대략 10년 전 | 답변 수: 2 | 0
2
답변문제를 풀었습니다
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...
대략 10년 전
문제를 풀었습니다
Bullseye Matrix
Given n (always odd), return output a that has concentric rings of the numbers 1 through (n+1)/2 around the center point. Exampl...
대략 10년 전
문제를 풀었습니다
Is my wife right? Now with even more wrong husband
Again, as in "Is my wife right?" ( <http://www.mathworks.com/matlabcentral/cody/problems/149-is-my-wife-right> ), answer 'yes' r...
대략 10년 전
문제를 풀었습니다
Return the 3n+1 sequence for n
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...
대략 10년 전
문제를 풀었습니다
Read a Soroban Abacus
*Description* The Soroban is the name of the modern Japanese abacus. Information on reading a Soroban can be found <http://we...
대략 10년 전
답변 있음
Hit Crossing driven by a signal of type 'single'
Ok, for all who are/were interested, here is my solution: I constructed my own hit crossing block. <</matlabcentral/answ...
Hit Crossing driven by a signal of type 'single'
Ok, for all who are/were interested, here is my solution: I constructed my own hit crossing block. <</matlabcentral/answ...
대략 10년 전 | 0
| 수락됨
질문
Hit Crossing driven by a signal of type 'single'
Hey community, I'm frustrated by now. I can't use the given Simulink block for a Relay because I have to change the switch on/o...
대략 10년 전 | 답변 수: 2 | 0
2
답변질문
How to send an event with a MATLAB function (in Stateflow)
Hey there, ...especially a warm welcome to all the Stateflow cracks, I have a problem when implementing a functionality in S...
10년 초과 전 | 답변 수: 1 | 0
1
답변문제를 풀었습니다
Solve the Sudoku Row
*Description* A simple yet tedious task occurs near the end of most Sudoku-solving algorithms, computerized or manual. The ta...
거의 11년 전
문제를 풀었습니다
Find the numeric mean of the prime numbers in a matrix.
There will always be at least one prime in the matrix. Example: Input in = [ 8 3 5 9 ] Output out is 4...
거의 11년 전
문제를 풀었습니다
Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...
거의 11년 전
문제를 풀었습니다
Free passes for everyone!
_Simply return the name of the coolest numerical computation software ever_ *Extra reward* (get a _freepass_): As an addit...
거의 11년 전
문제를 풀었습니다
Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...
거의 11년 전
문제를 풀었습니다
Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...
거의 11년 전
질문
Create single (standard) toolbar elements w/o GUIDE
Hey there, is there a way to create a toolbar with some specific elements of the standard toolbar without using GUIDE? I'v...
12년 초과 전 | 답변 수: 0 | 0
0
답변문제를 풀었습니다
Remove any row in which a NaN appears
Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...
12년 초과 전
문제를 풀었습니다
Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...
12년 초과 전