Solved


Number Puzzle - 050

3 days ago

Solved


Alternate elements!
Write a function that combines two lists by alternating the elements, e.g. ['a','b','c'], ['1','2','3'] → 'a1b2c3'.

7 days ago

Solved


Save variables
a=[1] Save variable a that is located in workspace into current folder. File name should be 'a.mat'

7 days ago

Solved


provide the numerical answer to these number questions...
return a row matrix containing the sorted numbers which answer the following questions: a) what is the first Knuth number to...

7 days ago

Solved


Find nth triangular number.
Calculate the triangular number of given integer n.

7 days ago

Solved


Write a function that gives the ReLU of the input.
The ReLU function is given by, In here, x input can be a scalar, vector or a matrix.

7 days ago

Solved


Automatic String Editing
In this function, you will take an incoming string, and output the same string with each character one letter later in the alpha...

9 days ago

Solved


Simple String Concatenation
This is a simple problem involving taking two incoming strings, and outputting the concatenated string with a space separating t...

9 days ago

Solved


Cycling — Critical Power
From Training and Racing with a Power Meter by Allen and Coggan: "A number of equations have been presented in the scientific...

10 days ago

Solved


remove nans fast
There are several ways to locate and remove nans in a matrix, and return an 1d row vector. In this problem the challenge is ...

10 days ago

Solved


Gear ratio of a gear pair
Let's assume that we have a pair of two gears(pinion-bigger gear). The goal is to calculate the gear ratio(i) given the number (...

10 days ago

Solved


Special Relativity 101.
Special relativity states that the effective mass of an object varies as a function of its velocity. If *c* is the speed of ligh...

11 days ago

Solved


P(girl likes you | she smiled at you)
Compute the probability Given the input probabilities

11 days ago

Solved


Build the Well
Calculate the total time taken for building 'n' wells given : Worker A takes a hr to build the well alone Worker B takes b hr...

11 days ago

Solved


Bag of apples
find probabilty of getting red apples from a bag of 'r' red and 'g' green apples.

11 days ago

Solved


Matrix Rotation
Write a MATLAB function that rotates a given matrix by 90 degrees clockwise. The rotation should be performed in-place, without ...

11 days ago

Solved


Calculate the Compression of a Spring
A mechanical engineer wants to determine how much a spring will compress when a force is applied to it. According to Hooke’s Law...

11 days ago

Solved


Addition II
find a+b+c+d

11 days ago

Solved


X-intercepts of a quadratic.
Find the y value of the quadratic of the function at a point x.

11 days ago

Solved


Write a string
The answer should be a string that is the value: "I like apples!" (Ignore the quotation marks, just write what is inside the ...

11 days ago

Solved


Point on a line
Find the slope of the straight line between the points a and b. Then find y at x=20.

11 days ago

Solved


Division
Divide a by b.

11 days ago

Solved


Subtraction
Subtract a from b.

11 days ago

Solved


Squares
Find the square of x.

11 days ago

Solved


Multiplication
Multiply a and b.

11 days ago

Solved


Addition
Add together the values of a and b.

11 days ago

Solved


Multiply the Diagonals of Two Vectors
Find the diagonals of vectors a and b and multiply them.

11 days ago

Solved


Draw '\'
Can you draw the sign '\' by zeros and ones? NOTICE: Be x-by-x matrix.

11 days ago

Solved


Plot
Make a plot of the vector x. NOTICE: YOU CAN NOT USE ans INSTEAD OF y!

11 days ago

Solved


Title
Make a plot for x and add title "My Plot". NOTICE: YOU CAN NOT USE ans INSTEAD OF [y ax]!

11 days ago

Load more