A short code for creating a random (1, 1) matrix in matlab

The following Matlab project contains the source code and Matlab examples used for a short code for creating a random (1, 1) matrix. I have no idea whether this is the first one, but I am pretty sure that you guys can fully understand what can be done by this short and concise matlab code, that is, to generate a random matrix of any given order, with entries randomly chosen from {1,-1}.

The source code and files included in this project are listed in the project files section, please make sure whether the listed source code meet your needs there.

Project Files: 

File NameSize
license.txt 1312
randplusminus1.m 430

SocialTags: