Take the 2-minute tour ×
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.

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|improve this question

1 Answer 1

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

share|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.