matlab的for/while循环结构(2018a)for循环while一些补充
for循环首先还是看下for语句的定义(和python c java都一样)y=0;for i = 1:10y = y+iendy =1y =3y =6…很多很多最后y=55whiley = 0;n = 1;N=100;while n<=Ny = y+1/(n*n);n=n+1;endyy =1.6350一些补充还可以加入一些contin...