Community Profile

photo

Eric


Last seen: Today|Active since 2015

Statistics

全部
  • 首次审查
  • First Answer
  • 求解器

查看徽章

Content Feed

查看

Answered
Problem with line numbers in editor in R2016a
We have seen the same issue and found that simply closing the editor and reopening the files does the trick as well.

6年前|1

解决了


Find the longest sequence of 1's in a binary sequence.
给定一个字符串,如年代= 011110010000000100010111' find the length of the longest string of consecutive 1's. In this examp...

6年前

解决了


Can you reshape the matrix?
Given a matrix A, is it possible to reshape it into another matrix with the given number of rows?

6年前

解决了


告诉我斜坡
告诉我斜坡,给定一个矢量,首先是水平运行,接下来是垂直上升的。示例输入:x = [10 2];

6年前

解决了


解决Sudoku行
*Description* A simple yet tedious task occurs near the end of most Sudoku-solving algorithms, computerized or manual. The ta...

6年前

解决了


inner product of two vectors
inner product of two vectors

6年前

解决了


Is my wife right? Now with even more wrong husband
Again, as in "Is my wife right?" ( ), answer 'yes' r...

6年前

解决了


掷骰子!
*Description* Return two random integers between 1 and 6, inclusive, to simulate rolling 2 dice. *Example* [x1,x2] =...

6年前

解决了


Bottles of beer
Given an input number representing the number of bottles of beer on the wall, output how many are left if you take one down and ...

6年前

解决了


找到字母单词产品
如果输入字符串s是“ Hello”之类的单词,则输出Word product p是基于对应的数字a = 1,b = 2,....

7年前

解决了


radius of a spherical planet
you just measured its surface area, that is the input.

7年前

解决了


Pascal's Triangle
Given an integer n >= 0, generate the length n+1 row vector representing the n-th row of

7年前

解决了


Pizza value using expression with parentheses
Pizza prices are typically listed by diameter, rather than the more relevant feature of area. Compute a pizza's value (cost per ...

7年前

解决了


Too mean-spirited
Find the mean of each consecutive pair of numbers in the input row vector. For example, x=[1 2 3] ----> y = [1.5 2.5] x=[1...

7年前

解决了


Bullseye Matrix
给定n(总是奇数),返回输出a具有数字1至(n+1)/2的同心环围绕中心点。考试...

7年前

解决了


Cell joiner
You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...

7年前

解决了


Swap the input arguments
编写一个两输入的两输出函数,该函数交换其两个输入参数。例如:[q,r] =交换(5,10)返回q = ...

7年前

解决了


Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...

7年前

解决了


使用双重结肠操作员创建一个行阵列
使用双结肠操作员创建从9到1的行阵列。

7年前

解决了


Return the largest number that is adjacent to a zero
This example comes from Steve Eddins' blog:

7年前

解决了


Distance walked 1D
Suppose you go from position 7 to 10 to 6 to 4. Then you have walked 9 units of distance, since 7 to 10 is 3 units, 10 to 6 is 4...

7年前

解决了


Fahrenheit to Celsius using multiple statements
Given a Fahrenheit value F, convert to a Celsius value C. While the equation is C = 5/9 * (F - 32), as an exercise use two state...

7年前

解决了


Target sorting
对给定的数字列表进行排序| A |根据每个元素距离目标值| t |的距离。结果应返回...

7年前

解决了


戈尔巴赫的猜想
The asserts that every even integer greater than 2 can ...

7年前

解决了


哪个值正好出现三次?
返回所有值(最小到最大的值)的列表,该列表在输入向量X中精确出现了三次。因此,如果x = [1 2 ...

7年前

解决了


Make a Palindrome Number
Some numbers like 323 are palindromes. Other numbers like 124 are not. But look what happens when we add that number to a revers...

7年前

解决了


如何在不使用查找功能的情况下找到元件在向量中的位置
写一个函数posx = findposition(x,y)其中x是向量,而y是您要搜索的数字。示例:鳍...

7年前

解决了


搭便车手MATLAB指南
Output logical "true" if the input is the answer to life, the universe and everything. Otherwise, output logical "false".

7年前

解决了


使用PI圆形区域
鉴于圆的半径,请计算圆圈的区域。使用内置的数学常数PI。

7年前

解决了


返回N的3N+1序列
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

7年前

Load more