第4章 用MATLAB設計程式
... (response=='Y') response='Y' else response='N' end string operator help strfun % for more string operator Loops Known loop ~ for-loop Unknown loop ~ while-loop for-loop for k=5:10 :36 x=k^2 end function A=specmat(n) A=ones(n); for r=1:n for c=1:n if ....