matlab波形优化算法经常要用到的matlab toolbox工具箱:yalmip

源代码在线查看: transpose.m

软件大小: 849 K
上传用户: huanghuanl
关键词: matlab toolbox yalmip 波形优化
下载地址: 免注册下载 普通下载 VIP

相关代码

				function X=transpose(X)
				%TRANSPOSE (overloaded)
				
				% Author Johan L鰂berg 
				% $Id: transpose.m,v 1.1 2006/08/10 18:00:23 joloef Exp $
				
				if isa(X,'blkvar')
				    X = sdpvar(X);
				end
				
				n = X.dim(1);
				m = X.dim(2);
				ind = reshape(reshape(1:n*m,n,m)',n*m,1);
				X.basis = X.basis(ind,:);
				X.dim(1) = m;
				X.dim(2) = n;
				% Reset info about conic terms
				X.conicinfo = [0 0];
				
							

相关资源