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

4 lines
81 B
Mathematica
Raw Permalink Normal View History

2019-12-18 11:25:45 +00:00
function [A,b] = randpolytope(n,m)
A = randn(n,m);
b = m*rand(n,1)-A*randn(m,1);