![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/27832798_1665118345377_DEF.jpg)
Christine
Followers: 0 Following: 0
Feeds
提问
write a recursive palindrome function but the error is always not enough input arguments
function p=palindrome(n) if length(n)==1 p==true elseif n(1:end)==palindrome(end:-1:1) p=true else p=false end i ...
1 year 前 | 2 个回答 | 0