⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 strings2.m

📁 matlab算法集 matlab算法集
💻 M
字号:
function c = strings2 (a,b)
%----------------------------------------------------------------
% Usage:       c = strings2 (a,b)
%
% Description: Contatinate string b to the end of string a
%
% Inputs:      a = initial string 
%              b = string to add to the end of a
%
% Outputs:     c = strings a and b contatinated 
%
% Note:        This is a Matlab 4.0 replacement for the strcat 
%              function in Matlab 5.0
%----------------------------------------------------------------
   na = length (a);
   nb = length (b); 
   c = a;
   for i = 1 : nb
      c(na+i) = b(i);
   end
%----------------------------------------------------------------

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -