Community Profile

# Tatiana Carey

##### Last seen: 24 days ago
70 total contributions since 2018

View details...

Contributions in
View by

Solved

Return area of square
Side of square=input=a Area=output=b

2 years ago

Solved

Transpose
Write a MATLAB script in order to convert a random length row vector (v) into a column vector.

2 years ago

Solved

Matlab Basics II - Free Fall
An object freely falling from rest under gravity covers a distance x given by: x = 1/2 gt^2 write a function that calculat...

2 years ago

Solved

Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

2 years ago

Solved

Kinetic Energy
Given the mass m and velocity v of an object, determine its <http://en.wikipedia.org/wiki/Kinetic_energy kinetic energy>.

2 years ago

Solved

Given input in radians, output to degrees

2 years ago

Solved

2 years ago

Solved

2 years ago

Solved

Matrix element wise multiplication
Take two incoming vectors, and multiply them element wise

2 years ago

Solved

Calculate the number of elements in a matrix.
Calculate the number of elements in a matrix.

2 years ago

Solved

Vector Element Multiplication
Take two incoming vectors, and output the element wise multiplication of the vectors.

2 years ago

Solved

Take two incoming vectors and output the sum of the two vectors

2 years ago

Solved

Matrix multiplication
Multiply two incoming matrices via matrix multiplication

2 years ago

Solved

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

2 years ago

Solved

Matlab Basics II - squares
Write a function that takes matrix A, and squares each element in the matrix example: A = [1 2 3] output = [1 4 9]

2 years ago

Solved

Mode
Find the mode of the vector Assumption: no vector is bimodal Example 1: input=[1 2 3 4 4]; output=4 Example 2: input=[7...

2 years ago

Solved

Concatenate two strings
Its very easy. Just concatenate two strings.

2 years ago

Solved

Max of a Vector
Write a function to return the max of a vector

2 years ago

Solved

Matlab Basics - Convert a row vector to a column vector
Write a script to convert a row (e.g. x = [1 2 3]) to a column (e.g. y = [1;2;3]), your script should be able to do this for any...

2 years ago

Solved

Sum of the Matrix Elements
Add up all the elements in a NxM matrix where N signifies the number of the rows and M signifies the number of the columns. E...

2 years 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.

2 years ago

Solved

Volume of a box
Given a box with a length a, width b, and height c. Solve the volume of the box.

2 years ago

Solved

Back to Basics - Find no. of elements in a matrix?
Let A be a m*n matrix. Find the total no. of elements in A ? (Hint - formula based) A = [1 2 3;4 5 6]; output = 6

2 years ago

Solved

length of a vector
Find twice the length of a given vector.

2 years ago

Solved

Multiply a column by a row
* Given a column vector C and and a row vector R. * Output a matrix M. * Every column of M equals to C multiplied by correspon...

2 years ago

Solved

The sum of the numbers in the vector
eg. [1,2,3]---->SUM=6

2 years ago

Solved

Beginner's Problem - Squaring
Try out this test problem first. Given the variable x as your input, square it by two and put the result in y. Examples: ...

2 years ago

Solved

Calculate the sum of two numbers. Example input = [2 3] output = 5

2 years ago

Solved

Calculate square and cube of number
Calculate square and cube of number x

2 years ago

Solved

Matlab Basics - y as a function of x
Write a function to calculate y as a function of x, such that y = 6x^2 + 5x - 2

2 years ago