Gelöst


Card games

2 Monate vor

Gelöst


Change on Spiral Matrix
n>=3, generate a matrix of nth such that n^2 is the max number, and max number must be in [1,1] or [end, end]. One example will ...

2 Monate vor

Gelöst


Polygon Interior Angle Sum
Given the number of sides of a regular polygon, find the sum of interior angles. Return 0 for input for which regular polygon a...

2 Monate vor

Gelöst


Pass the Threshold!!
Write a Matlab function that will take as input a matrix of arbitrary dimensions and a scalar threshold value, and return a vec...

2 Monate vor

Gelöst


Polynomial Evaluation
Create a routine that takes a list of coefficients of a polynomial in order of increasing powers of x; together with a value of ...

2 Monate vor

Gelöst


Test within tolerance
Given a vector of experimental data, D, and a vector of truth data, T, return FALSE if any +/- errors (D-T) are outside a given ...

2 Monate vor

Gelöst


Concatenate a successive power matrix in a column matrix
Generate F = [M1 M^2 ... M^p] with M a matrix, without using for.

2 Monate vor

Gelöst


03 - Matrix Variables 5
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_3e.png>>

2 Monate vor

Gelöst


sign function

2 Monate vor

Gelöst


GPA
Math's credit is 5 and you got x | Physics's credit 7 and you got y what is your GPA

2 Monate vor

Gelöst


PIN code

2 Monate vor

Gelöst


Find the sum of the largest two elements in a vector
With this one, you have to find the two largest elements in a vector and output the sum of those numbers.

2 Monate vor

Gelöst


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

2 Monate vor

Gelöst


Create tangent function out of sin and cos
Please don't use tan(x) directly

2 Monate vor

Gelöst


Simple return on investment
Assume you have some money and want to invest all your money to stock market. You randomly select a stock and invest all your mo...

2 Monate vor

Gelöst


Variable_Addition
be able to add any variable to the number one

2 Monate vor

Gelöst


Find offset of given matrix element from first matrix element
Given matrix m and an element of that matrix, return the offset from its first element. e.g. m=[11 2 34; 40 51 6; 87 8 109] el...

2 Monate vor

Gelöst


Pluralization
Define function plu(n) that returns '' (an empty string) if n=1, or 's' otherwise. This is handy for displaying messages from a...

2 Monate vor

Gelöst


Find the position of last minimum value in an integer array with numbers
If x = [2 6 4 9 -10 3 1 5 -10] then the output should be 9, because last minimum value (-10) lies at the 9th position.

2 Monate vor

Gelöst


02 - Vector Variables 5
_eVec_ = _Hello_ ( _eVec_ is a string, which is a vector of characters )

2 Monate vor

Gelöst


Bit to Gigabyte
1 bit = 1.25 × 10^-10 gigabytes | x is bit | y is gigabyte

2 Monate vor

Gelöst


Create a square matrix with given conditions
Create a square matrix, M, which should be populated as follows: M = [ n^2 n * (n-1) n * (n-2) ... n * 2 n * ...

2 Monate vor

Gelöst


cube of number
find cube of number

2 Monate vor

Gelöst


Circle : Square

2 Monate vor

Gelöst


determine the sum of the squares
if x = 4, the solution will be: y = 1^2+2^2+3^2+4^2=1+4+9+16 = 30.

2 Monate vor

Gelöst


Converter temp 0 to 200 degree C to 4 to 20mA
Converter temp 0 to 200 degree C to 4 to 20mA (It is used in transmitter)

2 Monate vor

Gelöst


Create a square matrix of zeros of even order
Create a square matrix of zeros of even order

2 Monate vor

Gelöst


Rankine to Celsius Converter
Given input R, degrees Rankine, convert into degrees Celsius.

2 Monate vor

Gelöst


divide by 5

2 Monate vor

Gelöst


Initialize a Natural Number matrix.
Given length of matrix initialize a matrix consisting of natural numbers from 1 to n: n = 10; x = [ 1 2 3 4 5 6 7 8 9 10]; ...

2 Monate vor

Mehr laden