two components in one matrix



Hi. I am using Matlab and trying create one column(1, n) vecor with a
mixture of 1 and -1. Does anybody know a specific command?

Thanks

.