Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...
Back to basics 10 - Max Float
Covering some basic topics I haven't seen elsewhere on Cody.
Return the largest positive floating-point number MATLAB can han...
거의 2년 전
문제를 풀었습니다
First non-zero element in each column
For a given matrix, calculate the index of the first non-zero element in each column. Assuming a column with all elements zero i...
거의 2년 전
문제를 풀었습니다
Number construction III
Given a positive integer, n, return a, b and c, such that
1. n = a^1.5+b^2.5+c^3.5
2. a, b and c are all positive integers...
거의 2년 전
문제를 풀었습니다
Breaking Out of the Matrix
Do you want to take the Red Pill, or the Blue Pill?
If you take the Blue Pill, you will simply pass along to the next problem...
거의 2년 전
문제를 풀었습니다
MATLAB Counter
Write a function f = counter(x0,b) to construct a counter handle f that counts with an initial value x0 and a step size b.
E...