Solved


Find the minimum element of the matrix
Example: If x = [3 9; 5 2] then y = 2

4 years ago

Solved


Find max
Find the maximum value of a given vector or matrix.

4 years ago

Solved


Find the Nth Root of a Given Number
Find the Nth root of a given number x. Examples x = 4096 n = 4 y = 8 x = 625 n = 5 y = 3.6239

4 years 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

4 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: ...

4 years ago

Solved


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

4 years ago

Solved


y equals x divided by 2
function y = x/2

4 years ago

Solved


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

4 years ago

Solved


Rounding off numbers to n decimals
Inspired by a mistake in one of the problems I created, I created this problem where you have to round off a floating point numb...

4 years ago

Solved


multiply by three
Given the variable x as your input, multiply it by 3 and put the result equal to y. Examples: Input x = 2 Output y is ...

4 years ago

Solved


Calculate the area of a triangle between three points
Calculate the area of a triangle between three points: P1(X1,Y1) P2(X2,Y2) P3(X3,Y3) these three points are the vert...

4 years ago

Solved


02 - Vector Variables 1
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_2a.png>>

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

4 years ago

Solved


UICBioE240 2.8
Convert x number of hours into seconds.

4 years ago

Solved


Convert radians to degrees
Given input in radians, output to degrees

4 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]

4 years 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]

4 years ago

Solved


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

4 years ago

Solved


MATLAB Basic: rounding
Do rounding near to zero Example: -8.8, answer -8 +8.1 answer 8

4 years ago

Solved


metre to feet converter
The idea is to make a converter, which exchange meters to feets. We use a factor of 1m = 3.281*1f. so 3m are equals to 9.843 m...

4 years ago

Solved


Area of a Square
Inside a square is a circle with radius r. What is the area of the square?

4 years ago

Solved


Area of a Square
Given the length x of the side of a regular square, find the area of the square, A.

4 years ago

Solved


area

4 years ago

Solved


Find the hypotenuse
Given a and b (the two sides of a right-triangle), find c, the hypotenuse.

4 years ago

Solved


Celsius to Fahrenheit converter
Convert Celsius to Fahrenheit degrees.

4 years ago

Solved


Celsius to Kelvin
Convert Celsius degrees to Kelvin temperature.

4 years ago

Solved


Write a code that will follow the equation y = x * (x + x) * x.
If x = 5, y = 5 * (5+5) * 5 = 250

4 years ago

Solved


Test Problem; Create a 5x5 array containing all ones
This is a test for learning the process of creating a Cody problem. The goal of this test problem will be to create an array,...

4 years ago

Solved


Unit conversion
Convert x degree Celsius to y degree Fahrenheit.

4 years ago

Solved


Square root of a number
Write a code that will output the square root of x.

4 years ago

Load more