a short code for creating a random (1,-1) matrix

This is a very short code file for creating a random matrix whose entries are either 1 or -1.

Download
Download

You are now following this Submission

Cite As

Changqing Xu (2026). a short code for creating a random (1,-1) matrix (https://in.mathworks.com/matlabcentral/fileexchange/27622-a-short-code-for-creating-a-random-1-1-matrix), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Linear Algebra in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0

Download