Sven
University of Michigan
Followers: 0 Following: 0
Aussie living in the US. Engineering with MATLAB. Some Interests: -3D Volume Processing (CT, mri) -Finite Element Analysis (human body simulation) -Geometry Analysis (human body morphomics) Professional Interests: Image processing, Finite Element Analysis, Human Body Biomechanics
Feeds
문제를 풀었습니다
Find the maximum number of decimal places in a set of numbers
Given a vector or matrix of values, calculate the maximum number of decimal places within the input. Trailing zeros do not count...
3개월 전
문제를 풀었습니다
MATLAB Basic: rounding II
Do rounding nearest integer. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 9
3개월 전
문제를 풀었습니다
MATLAB Basic: rounding
Do rounding near to zero Example: -8.8, answer -8 +8.1 answer 8
3개월 전
문제를 풀었습니다
Split a string into chunks of specified length
Given a string and a vector of integers, break the string into chunks whose lengths are given by the elements of the vector. Ex...
대략 4년 전
문제를 풀었습니다
Find the nearest prime number
Happy 5th birthday, Cody! Since 5 is a prime number, let's have some fun looking for other prime numbers. Given a positive in...
거의 7년 전
문제를 풀었습니다
I Plead the Fifth
Write a function to provide a yes or no answer to the input string. However, it must plead the 5th amendment (return an empty st...
거의 7년 전
문제를 풀었습니다
Spot the First Occurrence of 5
This problem series invites you to solve two simple problems related to the integer NUMBER FIVE, in order to celebrate <https://...
거의 7년 전
문제를 풀었습니다
5 Prime Numbers
Your function will be given lower and upper integer bounds. Your task is to return a vector containing the first five prime numb...
거의 7년 전
문제를 풀었습니다
Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock.
Submit your answer to this problem a multiple of 5 seconds after the hour. Your answer is irrelevant; the only thing that matte...
거의 7년 전
문제를 풀었습니다
Is it really a 5?
A number containing at least one five will be passed to your function, which must return true or false depending upon whether th...
거의 7년 전
문제를 풀었습니다
How to subtract?
* Imagine you need to subtract a few numbers using MATLAB. * You will not be using eval for this task. * Given two ASCII strin...
거의 7년 전
문제를 풀었습니다
When Was That Goal Scored?
We want to find out when the goals were scored in a particular soccer game. For each game, we are given a "Goal Event Data" XML ...
7년 초과 전
문제를 풀었습니다
Circle area using pi
Given a circle's radius, compute the circle's area. Use the built-in mathematical constant pi.
대략 8년 전
문제를 풀었습니다
Indexed Probability Table
This question was inspired by a Stack Overflow question forwarded to me by Matt Simoneau. Given a vector x, make an indexed pro...
거의 11년 전
문제를 풀었습니다
Duplicate each element of a vector.
for an n-dimensional vector x, the function should return another vector 2n-dimension which each element is repeated twice. Ex...
거의 11년 전
문제를 풀었습니다
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...
거의 11년 전
문제를 풀었습니다
Convert a vector into a number
This is a sub problem related to this problem: <http://www.mathworks.com/matlabcentral/cody/problems/621-cryptomath-addition>...
11년 초과 전
문제를 풀었습니다
Find the largest value in the 3D matrix
Given a 3D matrix, A, find the largest value. E.g. >> A = 1:9; >> A=reshape(A,[3 1 3]); >> islargest(A) ans = 9
11년 초과 전
문제를 풀었습니다
Counting Sequence
Given a vector x, find the "counting sequence" y. A counting sequence is formed by "counting" the entries in a given sequence...
11년 초과 전
문제를 풀었습니다
Sum of diagonal of a square matrix
If x = [1 2 4; 3 4 5; 5 6 7] then y should be the sum of the diagonals of the matrix y = 1 + 4 + 7 = 12
11년 초과 전
문제를 풀었습니다
QWERTY coordinates
Given a lowercase letter or a digit as input, return the row where that letter appears on a <http://en.wikipedia.org/wiki/Keyboa...
11년 초과 전
문제를 풀었습니다
Make a Palindrome Number
Some numbers like 323 are palindromes. Other numbers like 124 are not. But look what happens when we add that number to a revers...
거의 12년 전
문제를 풀었습니다
Clean the List of Names
Given a list of names in a cell array, remove any duplications that result from different capitalizations of the same string. So...
거의 12년 전
문제를 풀었습니다
Alphabetize by last name
Given a list of names in a cell array, sort the list by the last name. So if list = {'Barney Google','Snuffy Smith','Dagwood ...
대략 12년 전
문제를 풀었습니다
Find relatively common elements in matrix rows
You want to find all elements that exist in greater than 50% of the rows in the matrix. For example, given A = 1 2 3 5 ...
대략 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년 전
문제를 풀었습니다
Get the length of a given vector
Given a vector x, the output y should equal the length of x.
대략 12년 전
문제를 풀었습니다
2 b | ~ 2 b
Given a string input, output true if there are 2 b's in it, false if otherwise Examples: 'Macbeth' -> false 'Publius Cor...
대략 12년 전
문제를 풀었습니다
Sorting
Assume that x is an n-by-2 matrix. The aim is to return the first column of x, but sorted according to the second column. Exa...
대략 12년 전