Community Profile

photo

Zhuo Li


University of Alabama at Birmingham

Active since 2015

Statistics

  • 测验主
  • 速度Demon
  • Creator
  • 求解器

查看徽章

Content Feed

查看

解决了


删除出现NAN的任何行
Given the matrix A, return B in which all the rows that have one or more

circa 7 anni ago

解决了


Summation of array
给定数组,找到示例中所有元素的总和:输入x = [1 2 3 5;4 5 6 7];输出y是33

circa 7 anni ago

Problem


Summation of array
给定数组,找到示例中所有元素的总和:输入x = [1 2 3 5;4 5 6 7];输出y是33

circa 7 anni ago | 1| 297 solvers

解决了


Determine whether a vector is monotonically increasing
如果输入矢量的元素单调增加(即每个元素都大于上一个),则返回true。返回...

circa 7 anni ago

解决了


查找所有小于0或大于10的元素,然后用NAN代替它们
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

circa 7 anni ago

解决了


Reverse the vector
反转矢量元素。示例:输入x = [1,2,3,4,5,6,7,8,9]输出y = [9,8,7,6,5,4,3,2,1]

circa 7 anni ago

解决了


Summing digits
Given n, find the sum of the digits that make up 2^n. Example: Input n = 7 Output b = 11 since 2^7 = 128, and 1 + ...

circa 7 anni ago

解决了


在矩阵中找到质子数的数字均值。
矩阵中总会至少有一个素数。示例:输入in = [8 3 5 9]输出输出为4 ...

circa 7 anni ago

解决了


Euler项目:问题10,素数总和
The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17. Find the sum of all the primes below the input, N. Thank you

circa 7 anni ago

解决了


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

circa 7 anni ago

解决了


Swap the first and last columns
翻转矩阵A的最外层列,使第一列变为最后一列,最后一列成为第一个。全部...

circa 7 anni ago

解决了


Column Removal
从输入矩阵A中删除nth列,然后返回输出B中的结果矩阵。因此,如果a = [1 2 3;4 5 6];和 ...

circa 7 anni ago

解决了


确定输入是否奇怪
给定输入n,如果n为奇数或false,则返回true,如果n为偶数。

circa 7 anni ago

解决了


increase the number by 7
You need to increase any given digit by 7

circa 7 anni ago

解决了


Simple equation: Annual salary
Given an hourly wage, compute an annual salary by multiplying the wage times 40 and times 50, because salary = wage x 40 hours/w...

circa 7 anni ago

解决了


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

circa 7 anni ago

解决了


三角数
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

circa 7 anni ago

解决了


Is my wife right?
Regardless of input, output the string 'yes'.

circa 7 anni ago

解决了


Add two numbers
Given a and b, return the sum a+b in c.

circa 7 anni ago

解决了


Make a checkerboard matrix
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. Example...

circa 7 anni ago

解决了


将所有整数从1到2^n总和
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

circa 7 anni ago

解决了


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

circa 7 anni ago

解决了


Find the sum of all the numbers of the input vector
找到输入向量X的所有数字的总和。示例:输入x = [1 2 3 5]输出y是11输入x ...

circa 7 anni ago

解决了


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

circa 7 anni ago

解决了


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

circa 7 anni ago