Dynamic-Calibration/utils/YALMIP-master/extras/randpolytope.m

4 lines
81 B
Matlab
Executable File

function [A,b] = randpolytope(n,m)
A = randn(n,m);
b = m*rand(n,1)-A*randn(m,1);