Solved

Create sequnce 1 4 9 16 25.........

Create sequnce 1 4 9 16 25......... upto entered input value using matlab scripting commands. Let y be output and x be input

11 meses ago

Solved

Number of toolboxes?

Return a number equal to the number of toolboxes available to the Cody solvers.

11 meses ago

Solved

Rescaling vector

Rescale the entries of a vector x so that it spams [a,b]. The new values should be linearly stretched into the new range. _Ex...

11 meses ago

Solved

Project Euler: Problem 1, Multiples of 3 and 5

If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23...

11 meses ago

Solved

Column norms of a matrix

Given a matrix M, return a vector y such that for each k y(k)=norm(M(:,k)) (y(k) is the Euclidean norm of the k-th col...

11 meses ago

Solved

What's Your BMI?

Find the body mass index. For reference, please refer to Wikipedia here: <http://en.wikipedia.org/wiki/Body_mass_index body ...

11 meses ago

Solved

find the surface area of a cube

given cube side length x, find the surface area of the cube, set it equal to y

11 meses ago

Solved

Divide elements by sum of elements

In this problem, I ask you to write a function which will divide the elements of each column by the sum of the elements of the s...

11 meses ago

Solved

Is there a GPU Device?

Return true if there is a supported GPU device available on the Cody computer.

11 meses ago

Solved

Energy of a photon

*⚛ ☢ ⚛ ☢ ⚛ ☢ ⚛* Given the frequency F of a photon in giga hertz. Find energy E of this...

11 meses ago

Solved

Determine the square root

Determine the square root of the value the user has entered, n.

11 meses ago

Solved

Back to basics 15 - classes

Covering some basic topics I haven't seen elsewhere on Cody. Return the class of the input variable.

11 meses ago

Solved

Back to basics 7 - Equal NaNs

Covering some basic topics I haven't seen elsewhere on Cody. Given 2 input variables, output true if they are equal, false ot...

11 meses ago

Solved

Determine the length of a string of characters

Determine the length of a string of characters

11 meses ago

Solved

UICBioE240 problem 1.10

Find the number of cells in a bioreactor after a given time when doubling time is dd and initial number of cells is x. So if ...

11 meses ago

Solved

UICBioE240 problem 1.13

Compute the following - y = x^5/(x^-1) and y = (1-(1/x^5))^-1. Have the final answer of y to equal a 1 by 2 vector.

11 meses ago

Solved

UICBioE240 problem 1.7

Find the other two angles of a right triangle given the two of the sides. So if A = [1 1] B = [45 45]

11 meses ago

Solved

UICBioE240 problem 1.18

exp(pi/5*i) and exp(pi/5i). Is there any difference in result? Write yes or no as a string.

11 meses ago

Solved

UICBioE240 2.10

Given a vector of numbers, give the difference between the maximum and minimum values.

11 meses ago

Solved

UICBioE240 problem 1.3

Find the length of a vector. So if A = [1 1 1 1 1] Then B = 5

11 meses ago

Solved

UICBioE240 problem 1.8

Given a list of grades in a class, write a script that gives the 2nd highest grade in the class and the average for the class. ...

11 meses ago

Solved

UICBioE240 problem 1.6

Find the tangent line of a right triangle given the two of the sides. So if A = [1 1] B = sqrt(2)

11 meses ago

Solved

UICBioE240 problem 1.1

Remove the middle row from a matrix, assuming # of rows is odd. So if A = [ 1 2 3; 4 5 6; 7 8 9] the...

11 meses ago

Solved

UICBioE240 problem 1.17

In the expression (2+5i), how does MATLAB read the expressions A = 2+5i B = 2+5*i C = both are okay Write capital letter a...

11 meses ago

Solved

UICBioE240 problem 1.2

Convert a column vector into a row vector. So if A = [1; 2; 3] Then B = [ 1 2 3]

11 meses ago

Solved

UICBioE240 problem 1.12

The mathematical quantities e^x, ln x, and log x are calculated in Matlab using the expressions exp(x), log(x), and log10(x), re...

11 meses ago

Solved

UICBioE240 problem 1.9

Swap the first and last columns of a matrix. So if A = [12 4 7; 5 1 4]; B = [7 4 12; 4 1 5]; ...

11 meses ago