A résolu


Converts numbers into characters
Converts numbers into characters

9 mois il y a

A résolu


Is A the inverse of B?
Given a matrix A and a matrix B, is A the inverse of B? >>A=[2,4;3,5]; >>B=[-2.5,2;1.5,-1]; >>isInverse...

9 mois il y a

A résolu


Rotate Matrix @180 degree
Rotate Matrix @180 degree Example A=[8 1 6; 3 5 7; 4 9 2], then answer would be [2 9 4;...

9 mois il y a

A résolu


Find the max element of the array
Find the max element of the array

9 mois il y a

A résolu


Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.

9 mois il y a

A résolu


Calculate the average value of the elements in the array
Calculate the average value of the elements in the array

9 mois il y a

A résolu


to the 2 all elements
to the 2 all elements

9 mois il y a

A résolu


the average value of the elements
Calculate the average value of the elements in the array

9 mois il y a

A résolu


Double all elements in the array
Duplicate all elements in the array

9 mois il y a

A résolu


calculate the length of matrix
input 1 array, calculate the length

9 mois il y a

A résolu


Draw a '0' in a one matrix!

9 mois il y a

A résolu


square root
Find the square root (y) of an input (x).

9 mois il y a

A résolu


Add two numbers
Given a and b, return the sum a+b in c.

9 mois il y a

A résolu


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displayed ...

9 mois il y a

A résolu


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Example...

9 mois il y a

A résolu


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

9 mois il y a

A résolu


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

9 mois il y a

A résolu


Simpson's Paradox - Calculate correlation coefficients for groups of data
Simpson's Paradox is a statistical phenomenon where groups of data can have a characteristic while the whole data set together h...

9 mois il y a

A résolu


Find the minimum of the column-maximums of a matrix
Given a matrix A, find the maximum value of each column, then return the smallest of those maximum values (ie return the minimum...

9 mois il y a

A résolu


Calculate the mean of each half of a matrix
Given a matrix with an even number of columns, n, return a 1-by-2 row vector where the first element is the mean of all the elem...

9 mois il y a

A résolu


Find Closest Constant
Given a number x, return the value that is closest to x from this list of constants: 0, 1, , e, , (also known as ). For exampl...

9 mois il y a

A résolu


Matrix Quadrants
Write a function that takes N as the input, and outputs a matrix whose upper-left (NxN) quadrant contains all ones, the lower-ri...

9 mois il y a

A résolu


How long until the weekend?
Write a function a that takes a date vector as an input and returns the number of hours until the weekend begins. The beginning...

9 mois il y a

A résolu


Remove a specific row with max value
Remove the row that contain the max value in the matrix? If you like the problem, please like it :)

9 mois il y a

A résolu


Mass Conversion 1

9 mois il y a

A résolu


Energy Conversion 2

9 mois il y a

A résolu


Energy Conversion 1

9 mois il y a

A résolu


Velocity Conversion
Given a velocity in mph, convert it to km/h. Round the answer to the fourth decimal place.

9 mois il y a

A résolu


Area Conversion 2

9 mois il y a

A résolu


Area Conversion 1

9 mois il y a

Charger plus