Home > General-Functions > SUGR > Conic_2D > sugr_ConicV_ConicM.m

sugr_ConicV_ConicM

PURPOSE ^

% sugr_ConicV_ConicM transforms conic vector to conic matrix

SYNOPSIS ^

function C = sugr_ConicV_ConicM(c)

DESCRIPTION ^

% sugr_ConicV_ConicM transforms conic vector to conic matrix 

 c = sugr_ConicV_ConicM(C)
 
 c = 6-vector
 C = 3x3 symmetric matrix

 wf 12/2012

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 %% sugr_ConicV_ConicM transforms conic vector to conic matrix
0002 %
0003 % c = sugr_ConicV_ConicM(C)
0004 %
0005 % c = 6-vector
0006 % C = 3x3 symmetric matrix
0007 %
0008 % wf 12/2012
0009 
0010 function C = sugr_ConicV_ConicM(c)
0011 
0012 C = [c(1) c(2) c(4) ;...
0013      c(2) c(3) c(5) ;...
0014      c(4) c(5) c(6)];
0015 
0016 end

Generated on Sat 21-Jul-2018 20:56:10 by m2html © 2005