社区资料

照片

James Best


自2018年以来活跃

统计数据

All
  • Thankful Level 2
  • Commenter
  • 杯挑战大师
  • 发起人
  • Introduction to MATLAB Master
  • Thankful Level 1
  • Solver

View badges

内容提要

View by

问题


MATLAB系列到MIDI Communication Win7与Win10
I am communicating from MATLAB to a MIDI interface using com0com to create a virtual serial port, and then using Hairless MIDI a...

3年前|0答案|0

0

答案

Solved


斐波那契序列中的均匀元素数量
查找前D号码中有多少均匀的斐波那契号。考虑以下前14个数字1 1 2 ...

3年前

Solved


斐波那契序列
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...

3年前

Solved


正方形的斐波那契
给定由以下递归关系定义的斐波那契序列, * f_n = f_(n-1) + f_(n-2) *其中f_0 = 0和f_1 ...

3年前

Solved


Return the Fibonacci Sequence
编写一个返回斐波那契序列的代码,以便该序列中的最大值小于输入整数N。

3年前

Solved


Project Euler: Problem 2, Sum of even Fibonacci
Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 te...

3年前

Solved


"Look and say" sequence
What's the next number in this sequence? * [0] * [1 0] * [1 1 1 0] * [3 1 1 0] * [1 3 2 1 1 0] This a variant on the w...

3年前

Solved


方数字数链终端值(受项目Euler问题的启发92)
Given a number _n_, return the terminal value of the number chain formed by summing the square of the digits. According to the P...

3年前

Solved


类似的三角形 - 找到树的高度
Given the height, h1, of a power pole, shorter than a tree, a given distance, x2 away, please find h2, height of the tree. Pleas...

3年前

Solved


界定的圆圈
Given the lengths of the 3 sides of a triangle, output the radius of the circumscribed circle. Example: [3 4 5] -> 2.5

3年前

Solved


你在里面还是出去?
给定的顶点由向量XV和YV指定,以及由数字X和Y指定的单点,如果POI ...

3年前

Solved


从点p(x,y)到线ax + by + c = 0的距离是多少?
给定一个点,p(x,y),找到从该点到线性线的距离。输入:X,Y,A,B,C输出:D,距离...

3年前

Solved


两个向量之间的角度
点产品关系,一个点B = |A ||b |cos(theta)可用于确定矢量A和VE ...

3年前

Solved


加权平均
给定两个数字列表,确定加权平均值。示例[1 2 3]和[10 15 20]应导致33.333 ...

3年前

Solved


Euler项目:问题6,自然数,正方形和总和。
The sum of the squares of the first ten natural numbers is, 1^2 + 2^2 + ... + 10^2 = 385 The square of the sum of the first ...

3年前

Solved


交替的总和
Given vector x, calculate the alternating sum y = x(1) - x(2) + x(3) - x(4) + ...

3年前

Solved


制作棋盘矩阵
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...

3年前

Solved


Find all elements less than 0 or greater than 10 and replace them with NaN
给定输入向量X,查找X的所有元素小于0或大于10,然后用NAN代替它们。示例:输入...

3年前

Solved


平行填料的体积
计算给定向量的三个边缘的向量,以一个顶点符合一个顶点。立方体是一种特殊情况...

3年前

Solved


Find third Side of a right triangle given hypotenuse and a side. No * - or other functions allowed
Find the remaining side of a triangle given the hypotenuse and a side. However, the normal functions and symbols are not allowe...

3年前

Solved


两个向量之间的角度
您有两个向量,确定这两个向量之间的角度:u = [0 0 1];v = [1 0 0];A ...

3年前

Solved


Is the Point in a Circle?
检查一个点还是多点是/位于半径为r点(x0,y0)的圆圈中。点= [x,y];C...

3年前

Solved


Are all the three given point in the same line?
在此问题中,输入是xy平面中三个点的坐标吗?P1(X1,Y1)P2(X2,Y2)P3(X3,Y3)如何...

3年前

Solved


Calculate the area of a triangle between three points
计算三角形的面积在三个点之间:p1(x1,y1)p2(x2,y2)p3(x3,y3)这三个点是vert ...

3年前

Solved


电视屏幕尺寸
给定电视屏幕的宽度与_W_和_h_的宽度比,以及电视的对角线长度_l_,返回t ...

3年前

Solved


Triangle sequence
以下方式构建了一系列三角形:1)第一个三角形是毕达哥拉斯的3-4-5三角形2)s ...

3年前

Solved


矩形的尺寸
矩形的较长一侧是较短一侧的三倍。如果对角线的长度为x,请找到宽度...

3年前

Solved


这三角形是正确的吗?
Given any three positive numbers a, b, c, return true if the triangle with sides a, b and c is right-angled. Otherwise, return f...

3年前

Solved


这三角形是正确的吗?
给定三个正数a,b,c,其中c是最大的数字,如果带有A,B和C的三角形是righ的,则返回 * true *。

3年前

Solved


找到毕达哥拉斯三重
给定四个不同的正数,即a,b,c和d,以越来越多的顺序提供:a

3年前

装载更多