답변 있음
Twist on the 'classic' tank filling / emptying problem
You can see the standard ODE solutions in Simulink, described among other places, on Mathworks blogs <http://blogs.mathworks.com...

대략 13년 전 | 0

답변 있음
how do i analyze measurement data .txt file
Hello Kingsley, You have a very broad based question; MATLAB is the right tool for your task. Take a look at the functions f...

대략 13년 전 | 0

답변 있음
Is it possible to write several statements into an anonymous function?
Great answers everyone; the best solution for this problem might still be 'reshape' based answer by Walter, Daniel and Matt - ea...

13년 초과 전 | 0

답변 있음
Rotate Normal Around Tangent
Paul, You need to find the points of a 2D rotation transform using the equations, for example affine transformation <http://en....

13년 초과 전 | 0

답변 있음
Operate a string in a cell matrix
Hello Kyle, Solution is fairly straightforward. First you can identify the locations where '*xlsread*' bailed out, by look...

13년 초과 전 | 0

답변 있음
prevent function from displaying output
Changes, like the previous comments suggest, using a semi-colon, should stop output form appearing on your terminal. Also you...

13년 초과 전 | 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...

13년 초과 전

답변 있음
How does one perform a fast Fourier transform (fft) on heart rate variability data?
Hello Samuel, We can only calculate the Discrete Fourier Transform, as an approximation of the actual continuous Fourier Transf...

13년 초과 전 | 1

문제를 풀었습니다


Remove the vowels
Remove all the vowels in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill' Output s2 is 'Jck nd Jll wn...

거의 14년 전

문제를 풀었습니다


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...

거의 14년 전

문제를 풀었습니다


Count photos
Given n people, everyone must have pictures taken with everyone, each photo includes only two persons, please count the total nu...

거의 14년 전

문제를 풀었습니다


inner product of two vectors
inner product of two vectors

거의 14년 전

문제


Next lexicographic - permutation
Find next lexicographic - permutation (permutations as it would occur in a dictionary order). E.g: nextP('ABCD') = ABDC I...

거의 14년 전 | 2 | 솔버 수: 53

문제를 풀었습니다


Next lexicographic - permutation
Find next lexicographic - permutation (permutations as it would occur in a dictionary order). E.g: nextP('ABCD') = ABDC I...

거의 14년 전

문제를 풀었습니다


Factorize THIS, buddy
List the prime factors for the input number, in decreasing order. List each factor only once, even if the factorization includes...

거의 14년 전

문제를 풀었습니다


Decode a simplified barcode
Given a bar code from this <http://www.mathworks.com/matlabcentral/cody/problems/602-make-a-simplified-bar-code exercise>: Re...

거의 14년 전

문제를 풀었습니다


Make a simplified barcode
Given an integer to encode, make a barcode using the following encoding scheme: * The bar code is made from the binary versio...

거의 14년 전

문제를 풀었습니다


Distance walked 1D
Suppose you go from position 7 to 10 to 6 to 4. Then you have walked 9 units of distance, since 7 to 10 is 3 units, 10 to 6 is 4...

거의 14년 전

문제를 풀었습니다


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

거의 14년 전

문제를 풀었습니다


"Look and say" sequence
What's the next number in this sequence? * [0] * [1 0] * [1 1 1 0] * [3 1 1 0] * [1 3 2 1 1 0] This a variant on the w...

거의 14년 전

문제를 풀었습니다


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 =...

거의 14년 전

문제를 풀었습니다


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...

거의 14년 전

문제를 풀었습니다


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...

거의 14년 전

문제를 풀었습니다


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...

거의 14년 전

문제를 풀었습니다


Add two numbers
Given a and b, return the sum a+b in c.

거의 14년 전

문제를 풀었습니다


Find state names that start with the letter N
Given a list of US states, remove all the states that start with the letter N. If s1 = 'Alabama Montana Nebraska Vermont Ne...

거의 14년 전

문제를 풀었습니다


It dseon't mettar waht oedrr the lrettes in a wrod are.
An internet meme from 2003 (read more <http://www.snopes.com/language/apocryph/cambridge.asp here>) asserted that readers are re...

거의 14년 전

문제를 풀었습니다


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...

거의 14년 전

문제를 풀었습니다


Reduce - Map-Reduce
Write reduce function, that takes arguments and constantly folds results into next call argument, finally returning a value; ...

거의 14년 전

문제


Reduce - Map-Reduce
Write reduce function, that takes arguments and constantly folds results into next call argument, finally returning a value; ...

거의 14년 전 | 1 | 솔버 수: 18

더 보기