統計
MATLAB Answers
2 質問
0 回答
ランク
of 178,957
コントリビューション
0 問題
0 解答
スコア
0
バッジ数
0
コントリビューション
0 投稿
コントリビューション
0 パブリック チャネル
平均評価
コントリビューション
0 ハイライト
平均いいねの数
Feeds
質問
Caesar's cypher is the simplest encryption algorithm. It adds a fixed value to the ASCII (unicode) value of each character of a text. In other words, it shifts the characters. Decrypting a text is simply shifting it back by the same amount, that is,
function coded = caesar(a,n) coded1 = []; for ii = 1:size(a,2) if 32<double(a(ii))+n<126 ...
6年弱 前 | 0 件の回答 | 0
0
回答質問
Write a function called valid_date that takes three positive integer scalar inputs year, month, day. If these three represent a valid date, return a logical true, otherwise false. The name of the output argument is valid.
unction valid = valid_date(year,month,day) if year < 1 || ~isscalar(year) || year ~= fix(year) valid1 = false;...
6年弱 前 | 1 件の回答 | 0