Cody
文字列の最初と最後の文字をつなげて返すような関数を作成しましょう。 もし文字が一つしかない場合、その文字は最初と最後の文字のため、関数はその文字を二回返すようにしておきましょう。
例:
stringfirstandlast('boring example') = 'be'
Nearest Numbers
2725 Solvers
Project Euler: Problem 9, Pythagorean numbers
157 Solvers
BASICS - sum part of vector
183 Solvers
Make roundn function
168 Solvers
Draw 'F'
89 Solvers
対称で、n*2n のサイズの行列を作成しましょう
77 Solvers
ベクトルの値が増加しているかを調べよう
88 Solvers
行列内の素数の平均をとろう
87 Solvers
NaN (欠損値) が含まれている行を削除しよう
90 Solvers
二乗になっている数を見つけよう
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office