Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm looking for a concise way to define the following (horizontal) vector:

$$\mathbf{x} = [x_{-k}, \dots ,x_{k}]$$

where $x_k = \mathrm{i}$ if $k$ is odd and zero otherwise, and $|k| \le K $.

So far I though I thought something like

$$\mathbf{x} = \{x_k = \mathrm{i}\, (k\bmod 2) : k \in \mathbb{Z} \land |k| \le K\}$$

but is it correct to use set notation this way? Is there a better notation?

Also, if I want to define a $2K+1 \times 2K+1$ diagonal matrix, $\mathbf{X}$, where $X_{k,k} = e^{\mathrm{i} k \theta}$ could I write

$$\mathbf{X} = \{ X_{k,k} = e^{\mathrm{i} k \theta} : k \in \mathbb{Z} \land |k| \le K\}$$

share|cite|improve this question

$x_k= (k-2[k/2])i$ for all $k\in \Bbb Z$ with $|k|\le K$.

share|cite|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.