如何找出字符变量的偶数位字符 by 3207010012 秦川愉悦 - Saturday, 20 November 2021, 8:37 PM Number of replies: 3 如何找出字符变量的偶数位字符,没太看明白慕课 Permalink In reply to 3207010012 秦川愉悦 回复: 如何找出字符变量的偶数位字符 by 3207010011 蔡志锋 - Sunday, 21 November 2021, 2:42 PM x(2:2:n),输这个可以找到偶数,其中n是总的字符位数 Permalink Show parent In reply to 3207010012 秦川愉悦 回复: 如何找出字符变量的偶数位字符 by 3207010030 夏可昀 - Sunday, 21 November 2021, 9:49 PM n可以用length(x)算出来 也可以用x(2:2:end) Permalink Show parent In reply to 3207010012 秦川愉悦 回复: 如何找出字符变量的偶数位字符 by 3192012011 朱雅轩 - Monday, 27 December 2021, 7:37 PM 起始值为偶数,步长值为2 Permalink Show parent
In reply to 3207010012 秦川愉悦 回复: 如何找出字符变量的偶数位字符 by 3207010011 蔡志锋 - Sunday, 21 November 2021, 2:42 PM x(2:2:n),输这个可以找到偶数,其中n是总的字符位数 Permalink Show parent
In reply to 3207010012 秦川愉悦 回复: 如何找出字符变量的偶数位字符 by 3207010030 夏可昀 - Sunday, 21 November 2021, 9:49 PM n可以用length(x)算出来 也可以用x(2:2:end) Permalink Show parent
In reply to 3207010012 秦川愉悦 回复: 如何找出字符变量的偶数位字符 by 3192012011 朱雅轩 - Monday, 27 December 2021, 7:37 PM 起始值为偶数,步长值为2 Permalink Show parent