source:
proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/opt/yalmip/@sdpvar/sosd.m
@
37
Last change on this file since 37 was 37, checked in by , 14 years ago | |
---|---|
File size: 348 bytes |
Rev | Line | |
---|---|---|
[37] | 1 | function [h,parvar,Q,v] = sosd(X) |
2 | %SOSD Returns sum-of-squares decomposition | |
3 | % | |
4 | % [h,parvar,Q,v] = sosd(X) | |
5 | % | |
6 | % Example | |
7 | % | |
8 | % x = sdpvar(1,1);F = set(sos(1+x^2+x^4));solvesos(F); | |
9 | % sdisplay(sosd(F)) | |
10 | ||
11 | %if ~is(X,'sos') | |
12 | % error('SOS decompositions are only available for SOS objects'); | |
13 | %else | |
14 | [h,parvar,Q,v] = yalmip('getsos',X.extra.sosid); | |
15 | %end |
Note: See TracBrowser
for help on using the repository browser.