Given a vector, return a vector with all zeros except at 'position'
1 | getInd(x, position)
|
x |
the vector |
position |
the position |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.