社区资料

照片

丹尼尔·莫兰(Daniel Moran)


Last seen: 7 days ago|自2018年以来活跃

统计数据

  • Introduction to MATLAB Master
  • Indexing I Master
  • 杯挑战大师
  • 欧拉项目一世
  • Commenter
  • 发起人
  • 领导者
  • 速度恶魔
  • Solver

View badges

内容提要

View by

Solved


玻璃半满
相同的眼镜放在三角形的塔结构中,因此顶级(L = 1)包括一个玻璃,下一个堤坝...

3年前

Solved


简单方程:年薪
Given an hourly wage, compute an annual salary by multiplying the wage times 40 and times 50, because salary = wage x 40 hours/w...

3年前

Solved


返回'on'或'off'
When the input is true, return 'on', otherwise, return 'off'.

3年前

Solved


PETA到Nano(X射线)
对于某些X射线辐射,在Petahertz中给出的频率给出纳米分子的波长,必须准确+/- 25%

3年前

Solved


MATLAB基础知识II-单元转换
写一个将千克转换为磅的功能,将答案返回到最接近的1磅的1/100

3年前

Solved


MATLAB基础II-日志和自然日志
编写一个函数,该函数可以计算向量的对数和自然日志之间的差异,并为两个小数点示例:...

3年前

Solved


我恳求第五
编写一个函数以提供对输入字符串的答案。但是,它必须恳求第五修正案(返回一个空的ST ...

3年前

Solved


这是Tic Tac Toe X赢家吗?
对于的游戏>我们将在矩阵M中存储游戏状态。

3年前

Solved


列入五角大楼?
Your function will be provided with the five vertices of a pentagon (p) as well as the center point (cp) and radius (r) of a cir...

3年前

Solved


圈/五角大楼重叠
Your function will be provided with the five vertices of a pentagon (p) as well as the center point (cp) and radius (r) of a cir...

3年前

Solved


Octoberfest festival
A group of students decided to visit Octoberfest festival. First they ordered one beer, then after half-hour they taken one more...

3年前

Solved


rocaman序列-i
Recaman Sequence (A005132 - ) is defined as follow; seq(0) = 0; for n > 0, seq(n) ...

3年前

Solved


极化
您的n个极化过滤器将一个堆叠在另一个顶部,并且您知道每个轴角。多少光通过...

3年前

Solved


ASCII生日蛋糕
Given an age and a name, give draw an ASCII birthday cake. For example, given the name "CODY" and the age 5, return a string wit...

3年前

Solved


魔术很简单(对于初学者)
确定命令n的魔法正方形,魔术总和m。例如,对于命令3的魔术正方形,m = 15。

3年前

Solved


制作一个随机的,不重复的向量。
这是一个基本的MATLAB操作。正是因为instructional purposes. --- If you want to get a random permutation of integer...

3年前

Solved


Roll the Dice!
*说明*返回两个在1到6之间的随机整数,以模拟滚动2骰子。*示例* [x1,x2] = ...

3年前

Solved


二进制字符串中的1次
在给定的二进制字符串中找到1s的数量。例子。如果输入字符串为“ 1100101”,则输出为4。如果输入stri ...

3年前

Solved


返回字符串的第一个和最后一个字符
返回字符串的第一个和最后一个字符,将串联在一起。如果字符串中只有一个字符,则功能...

3年前

Solved


交换输入参数
Write a two-input, two-output function that swaps its two input arguments. For example: [q,r] = swap(5,10) returns q = ...

3年前

Solved


Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

3年前

Solved


Finding Perfect Squares
给定数字向量,如果其中一个是其他数字之一的平方,则返回true。否则返回false。E ...

3年前

Solved


正方形的返回区
方形的侧面=输入= a区域=输出= b

3年前

Solved


排序最低?
Return 1 if the input is sorted from highest to lowest, 0 if not. Example: 1:7 -> 0 [7 5 2] -> 1

3年前

Solved


根据远离原点的范围对复数列表进行排序。
Given a list of complex numbers z, return a list zSorted such that the numbers that are farthest from the origin (0+0i) appear f...

3年前

Solved


Maximum value in a matrix
在给定矩阵中找到最大值。例如,如果a = [1 2 3;4 7 8;0 9 1];然后答案是9。

3年前

Solved


Return a list sorted by number of consecutive occurrences
Inspired by Problem 38 by Cody Team. Given a vector x, return a vector y of the values in x sorted by the number of CONSECUTIVE...

3年前

Solved


连续数字的最长运行
给定矢量A,最常见地找到/连续重复的数字。例如,如果您有a = [1 2 2 2 1 ...

3年前

Solved


正方形的数字
Given an input x, return y, which is equal to the square of x.

3年前

Solved


Find the area of the four walls
If length, breadth and height of the walls are given, find the area of the four walls.

3年前

装载更多