已解决


A little bit of luck needed
This one may require a little bit of guess work, but it is possible. Hints: - The same solution might fail the tests once and ...

8 years 前

已解决


Find hen's weight.
If hen weights x kilos on two legs, how much does it weights on one leg? Output the result.

8 years 前

已解决


Delete x value in given vector y.
Delete x value in given vector y. Exapmle x=5; y=[ 1 2 5 6 74 5 2 5] result=[1 2 6 74 2]

8 years 前

已解决


Set x value to each odd index of vector y.
Set x value to each odd index of vector y.

8 years 前

已解决


Print true if
all elements are larger than 5 a=[1 3 5 8 6]; b=[6 6 6 6 6]; function(a) should be false, and function(b) will be tru...

8 years 前

已解决


Calculate some equation
Using given inputs x and z, make two outputs that are y1=(xz)/(x/z)^2+14x^2-0.8z^2 y2=x^z-z^x+(x/z)^2-(z/x)^2

8 years 前

已解决


Omit columns averages from a matrix
Omit columns averages from a matrix. For example: A = 16 2 3 13 5 11 10 8 9 7 ...

8 years 前

已解决


Increment a number, given its digits
Take as input an array of digits (e.g. x = [1 2 3]) and output an array of digits that is that number "incremented" properly, (i...

8 years 前

已解决


All your base are belong to us
Find the base _b_ logarithm of the input decimal number _x_. Express the output as a decimal number. The first argument is the n...

8 years 前

已解决


Remove DC
Input x is the sampled signal vector, may have both AC and DC components. Output y should not contain any DC component. Examp...

8 years 前

已解决


Calculate temperature of object
An object that have initial temperature T0 is in a room that has temperature Ts. The object's temperature in time t is T=Ts+(...

8 years 前

已解决


tridiagonal matrix
Given vectors u and v, make a tri-diagonal symmetric matrix such that u is in the main diagonal and v is below and above diagona...

8 years 前

已解决


Calculate 3D Distance
Given 2 vectors (1st is initial position, 2nd is the destination) calculate the distance in 3D Example in1 = [0 0 0] in2...

8 years 前

已解决


Refresh your system of equations
Given square matrix, and solution vector, find the values of the variables Example: xyz = [1 -1 2; 0 2 5; 4 0 -3]; //x-y+2...

8 years 前

已解决


Calculate circle's property
[A R]=function(r) r is radius, A is area of circles, R is circumference.

8 years 前

已解决


Calculate area of sector
A=function(r,seta) r is radius of sector, seta is angle of sector, and A is its area.

8 years 前

已解决


Calculate inverse matrix in square matrix
A=eye(3) Calculate inverse matrix of given input. B=function(A) ans = 1 0 0 0 1 0 ...

8 years 前

已解决


Calculate inverse matrix in m by n matrix
x=(1:10)' y=roundn(2*x+7*rand(size(x)),-1) a*x=y Estimate a using inverse matrix calculation. This is principle of li...

8 years 前

已解决


Pointwise multiplication of vectors.
Pointwise multiplication of vectors x and y. Example x= [1 3 5 7 9 11 13 15 17 19] y=[ 1 4...

8 years 前

已解决


Set x value to each even index of vector y.
Set x value to each even index of vector y.

8 years 前

已解决


Sum positive elements of matrix.
Calculate sum of positive elements of the matrix.

8 years 前

已解决


Back to Basics - New Data Type in R2016b - convert a char to a string
Convert an char array into a string.

8 years 前

已解决


Rutgers Homework 3 Problem 4
Please solve homework 3 problem 4.

8 years 前

已解决


Specific toolboxes
Given a string that is the name of a MATLAB toolbox, return true if it is available on the Cody solvers evaluation system, false...

8 years 前

已解决


Find relatively common elements in matrix rows
You want to find all elements that exist in greater than 50% of the rows in the matrix. For example, given A = 1 2 3 5 ...

8 years 前

已解决


Find state names that end with the letter A
Given a list of US states, remove all the states that end with the letter A. Example: Input s1 = 'Alabama Montana Nebras...

8 years 前

已解决


Counting Sequence
Given a vector x, find the "counting sequence" y. A counting sequence is formed by "counting" the entries in a given sequence...

8 years 前

已解决


Find qube root
Find the quberoot of 27

8 years 前

已解决


Remove the small words from a list of words.
Your job is to tidy up a list of words that appear in a string. The words are separated by one or more spaces. Remove all words ...

8 years 前

已解决


DNA N-Gram Distribution
Given a string s and a number n, find the most frequently occurring n-gram in the string, where the n-grams can begin at any poi...

8 years 前

加载更多