Usual matrix-vector transformation and other functions in control systems.
Current files include commen functions for matrix-vector transformation.
-
vec.m & invec.m
$$ \mathrm{vec}(A) = [a_1^\top,a_2^\top,...,a_n^\top]^\top $$ -
vecs.m & invecs.m
$$ \mathrm{vecs}(A) = [a_{11},2a_{12},...,2a_{1n},a_{22},...,2a_{2n},...,2a_{(n-1)n},a_{nn}]^\top $$ -
vecv.m
$$ \mathrm{vecv}(v) = [v_1^2,v_1v_2,...,v_1v_n,v_2^2,...,v_2v_n,...,v_n^2]^\top $$ -
vecd.m
$$ \mathrm{vecd}(u,v) = [u_1v_1,u_2v_2,...,u_nv_n]^\top $$ -
vecu.m
$$ \mathrm{vecu}(P) = [2P_{12},2P_{13},...,2P_{1n},2P_{23},...,2P_{2n},...,2P_{(n-1)n}]^\top $$