Feeling lucky?
Guess which number Cody is thinking (1 to 10)?
(This is a game of luck more than skill. Good luck!)
5年以上 前
解決済み
Help the Patriots get to the Super Bowl
Given a football by the Patriots, return it to them with 2 psi less air in it.
(The original psi is passed as a number to the...
Matlab Basics - Switching Assignments
Switch assignments for variables x and y, for example
start with x = 1 and y = 3
end with y = 1 and x = 3
Do NOT simply r...
Finding an element in a vector
x is a vector of unknown length
your function should return the index of the first element in the vector that is greater than...
N-th Odious
Given index n return n-th <https://oeis.org/A000069 odious number>.
5年以上 前
解決済み
Find the 9's Complement
Find the 9's complement of the given number.
An example of how this works is <http://electrical4u.com/9s-complement-and-10s-c...
07 - Common functions and indexing 5
Create the vector _lin_:
<<http://samle.dk/STTBDP/Assignment1_7e.png>>
(the integers from 1 to 20)
Make every other val...
5年以上 前
解決済み
05 - Vector Equations 3
Define the vector _dVec_:
<<http://samle.dk/STTBDP/Assignment1_2d.png>>
(Logarithmically spaced numbers between 1 and 10)
...
5年以上 前
解決済み
07 - Common functions and indexing 2
Define _eMat_:
<<http://samle.dk/STTBDP/Assignment1_3e.png>>
Calculate eMean as the mean across the rows of _eMat_. The an...