Philipp Maier
MathWorks
2012년부터 활동
Followers: 0 Following: 0
Feeds
문제를 풀었습니다
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년 초과 전
답변 있음
need help for take data from loop
The <http://www.mathworks.com/help/matlab/ref/eval.html eval> function can be used to execute the MATLAB expression. For example...
need help for take data from loop
The <http://www.mathworks.com/help/matlab/ref/eval.html eval> function can be used to execute the MATLAB expression. For example...
거의 11년 전 | 0
| 수락됨
답변 있음
How to obtain repetition patterns (start, end indices) in an array?
Please feel free to simplify the following: flag = 1; start_indices = []; end_indices = []; for i=1:numel(N) ...
How to obtain repetition patterns (start, end indices) in an array?
Please feel free to simplify the following: flag = 1; start_indices = []; end_indices = []; for i=1:numel(N) ...
거의 11년 전 | 3
답변 있음
saving a file with help of a function
The only thing missing in your code is that the name of the file needs to be a string when calling |addition| . For example: ...
saving a file with help of a function
The only thing missing in your code is that the name of the file needs to be a string when calling |addition| . For example: ...
대략 11년 전 | 0
답변 있음
[Simulink] Not to process for a period of time
I can think of one way that might solve this: Inside the MATLAB Function Block, you could define a <http://www.mathworks.com...
[Simulink] Not to process for a period of time
I can think of one way that might solve this: Inside the MATLAB Function Block, you could define a <http://www.mathworks.com...
11년 초과 전 | 0
| 수락됨
답변 있음
How to change simulink coverage settings in script?
I have not done this myself, but I recommend looking at the <http://www.mathworks.com/help/slvnv/ug/use-coverage-commands-in-a-s...
How to change simulink coverage settings in script?
I have not done this myself, but I recommend looking at the <http://www.mathworks.com/help/slvnv/ug/use-coverage-commands-in-a-s...
11년 초과 전 | 0
답변 있음
Include Simulink model Image when publishing an mfile
The MATLAB _print_ command provides the option for printing Simulink models. For an overview of how to do this in Simulink, refe...
Include Simulink model Image when publishing an mfile
The MATLAB _print_ command provides the option for printing Simulink models. For an overview of how to do this in Simulink, refe...
11년 초과 전 | 0
| 수락됨
문제를 풀었습니다
Pangrams!
A pangram, or holoalphabetic sentence, is a sentence using every letter of the alphabet at least once. Example: Input s ...
11년 초과 전
문제를 풀었습니다
Circle area using pi
Given a circle's radius, compute the circle's area. Use the built-in mathematical constant pi.
11년 초과 전
문제를 풀었습니다
Cell joiner
You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...
거의 12년 전
문제를 풀었습니다
Too mean-spirited
Find the mean of each consecutive pair of numbers in the input row vector. For example, x=[1 2 3] ----> y = [1.5 2.5] x=[1...
거의 12년 전
문제를 풀었습니다
Nearest Numbers
Given a row vector of numbers, find the indices of the two nearest numbers. Examples: [index1 index2] = nearestNumbers([2 5 3...
거의 12년 전
문제를 풀었습니다
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...
거의 12년 전
문제를 풀었습니다
The Goldbach Conjecture
The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...
거의 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년 전
문제를 풀었습니다
Back to basics 8 - Matrix Diagonals
Covering some basic topics I haven't seen elsewhere on Cody. Given an input vector of numbers, output a square array with the...
거의 12년 전
문제를 풀었습니다
Back to basics 11 - Max Integer
Covering some basic topics I haven't seen elsewhere on Cody. Return the largest positive integer MATLAB can handle.
거의 12년 전
문제를 풀었습니다
surface of a spherical planet
you just discovered its circumference, that is the input.
거의 12년 전
문제를 풀었습니다
Which doors are open?
There are n doors in an alley. Initially they are all shut. You have been tasked to go down the alley n times, and open/shut the...
거의 12년 전
문제를 풀었습니다
Return the first and last character of a string
Return the first and last character of a string, concatenated together. If there is only one character in the string, the functi...
거의 12년 전
문제를 풀었습니다
Simple equation: Annual salary
Given an hourly wage, compute an annual salary by multiplying the wage times 40 and times 50, because salary = wage x 40 hours/w...
거의 12년 전
문제를 풀었습니다
Bottles of beer
Given an input number representing the number of bottles of beer on the wall, output how many are left if you take one down and ...
거의 13년 전
문제를 풀었습니다
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...
거의 13년 전
문제를 풀었습니다
Make one big string out of two smaller strings
If you have two small strings, like 'a' and 'b', return them put together like 'ab'. 'a' and 'b' => 'ab' For extra ...
거의 13년 전
문제를 풀었습니다
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 ...
거의 13년 전
문제를 풀었습니다
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...
대략 13년 전
문제를 풀었습니다
radius of a spherical planet
you just measured its surface area, that is the input.
대략 13년 전
문제를 풀었습니다
Sorted highest to lowest?
Return 1 if the input is sorted from highest to lowest, 0 if not. Example: 1:7 -> 0 [7 5 2] -> 1
대략 13년 전



