Still more miles to go before I sleep
It's time for more odometer fun. Last problem, my car's odometer hit 56789. It's coming up on 111111 now, which (barring a maj...
約5年 前
解決済み
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...
約5年 前
解決済み
Ohm's Law
Well its Ohm's law...
So V = IR!
I will give two of the three values, such as V and I or I and R and you have to return th...
約5年 前
解決済み
Ripping numbers apart!
So you have to "rip" a number apart into individual digits... The end output is a cell.
That is if:
x = 12345678
o...
約5年 前
解決済み
Expand 10^n to Powers of 4
Given an integer n, return the coefficients
c = [c_n,c_n-1,...,c_0]
Such that
10^n = c_n*4^(n) + c_n-1*4^(n-1...
Angle between Two Vectors
The dot product relationship, a dot b = | a | | b | cos(theta), can be used to determine the acute angle between vector a and ve...
約5年 前
解決済み
What is the nth step in Conway's Life?
Based on <Problem 52. What is the next step in Conway's Life?>
Generalize your solution to Problem 52 - Give the state of the...
約5年 前
解決済み
Derivative of polynomial
Compute the derivative of a given polynomial. The input is an <http://www.mathworks.com/help/matlab/math/representing-polynomial...
Create matrix of replicated elements
Given an input element x, and the dimensions, (m, n) return a matrix of size m x n filled with element x.
Example:
Input: ...