n = 5;I = 00235;for i = 1n I = i^2 I; dispI_ num2stri = num2strI;end在此代码的基础上将递归序列改为I = Ii^2并输出结果
n = 5; I = 0.0235; for i = 1:n I = I/(i^2); disp(['I_', num2str(i), ' = ', num2str(I)]); end
原文地址: https://www.cveoy.top/t/topic/Z8W 著作权归作者所有。请勿转载和采集!
安全问答是一个知识全球问答,包含丰富的问答知识
n = 5; I = 0.0235; for i = 1:n I = I/(i^2); disp(['I_', num2str(i), ' = ', num2str(I)]); end
原文地址: https://www.cveoy.top/t/topic/Z8W 著作权归作者所有。请勿转载和采集!