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...
1年以上 前
解決済み
Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because
6 = 1 + 2 + 3
which can be displayed ...
Add Text Tile to Tiled Layout
I'm creating a tiled layout with several graphs that all relate to a single set of data. The data has say a dozen common propert...
3年弱 前 | 1 件の回答 | 0
1
回答
解決済み
Pizza!
Given a circular pizza with radius z and thickness a, return the pizza's volume. [ z is first input argument.]
Non-scored bonus...
3年弱 前
質問
removing up and down spikes from a surface
I have a 2-d array of data that represents a surface. The surface was scanned with a laser, and the laser data has both upward a...
Removing Short Runs from Binary Data
I have a large string of binary data of the form:
A = [0,0,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,...