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

源代码在线查看: end.m

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

相关代码

				function index = end(X,position,numindices)
				%end               Overloaded
				
				% Author Johan L鰂berg 
				% $Id: end.m,v 1.1 2004/06/17 08:40:04 johanl Exp $   
				
				  switch numindices
				   case 1
				    % User has written someting like X(end)    
				    index = length(X);
				   case 2
				    index = length(X);
				   otherwise
				    error('Indexation dimension cannot exceed 2');
				  end
				  			

相关资源