内容提要
Solved
界定的圆圈
Given the lengths of the 3 sides of a triangle, output the radius of the circumscribed circle. Example: [3 4 5] -> 2.5
10years ago
Solved
Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...
10years ago
Solved
谁知道PI的最后一位数字?
There is only one man who knows the last digit of pi, who is that man? Give the name of that man, who, by popular believe, can ...
10years ago
Solved
全资本?
Are all the letters in the input string capital letters? Examples: 'MNOP' -> 1 'MN0P' -> 0
10years ago
Solved
Find all elements less than 0 or greater than 10 and replace them with NaN
给定输入向量X,查找X的所有元素小于0或大于10,然后用NAN代替它们。示例:输入...
10years ago
Solved
Back to basics 15 - Benchmark
涵盖了我在科迪其他地方没有看到的一些基本主题。Return an array of the benchmark values for MATLAB.
10years ago
Solved
返回基础25-有效变量名称
涵盖了我在科迪其他地方没有看到的一些基本主题。Given a string, return true if it is a valid MATLAB variable nam...
10years ago
Solved
2b | ~ 2 b
给定一个字符串输入,如果其中有2 b,则输出为true,如果其他示例为false:'Macbeth' - > false'Publius cor ...
10years ago
Solved
替换为四月
For instance, if the input is input_str = 'The flowers may bloom in April'; then the output is output_str = 'The flo...
10years ago
Solved
Back to basics 20 - singleton dimensions
涵盖了我在科迪其他地方没有看到的一些基本主题。从输入变量中删除单例维度(例如,如果...
10years ago
Solved
方形矩阵对角线的总和
If x = [1 2 4; 3 4 5; 5 6 7] then y should be the sum of the diagonals of the matrix y = 1 + 4 + 7 = 12
10years ago