解決済み


Triangular matrices in 3D array
Given a 3D numeric array _x_, return an array _y_ of the same size in which all entries to the right of the main diagonal are ze...

4年弱 前

解決済み


Solve a System of Linear Equations
Example: If a system of linear equations in x₁ and x₂ is: 2x₁ + x₂ = 2 x₁ - 4 x₂ = 3 Then the coefficient matrix (A) is: 2 ...

4年弱 前

解決済み


Word Counting and Indexing
You are given a list of strings, each being a list of words divided by spaces. Break the strings into words, then return a maste...

4年弱 前

解決済み


Verify Law of Large Numbers
If a large number of fair N-sided dice are rolled, the average of the simulated rolls is likely to be close to the mean of 1,2,....

4年弱 前

解決済み


easy problem
Find the last element of the array

4年弱 前

解決済み


Kelvin to Celsius
Degrees Celsius = degrees Kelvin - 273.15. Given a temperature in Kelvin, return the equivalent temperature in Celsius.

4年弱 前

解決済み


Degrees to Radian
Convert degrees to radians

4年弱 前

解決済み


Radians to Degrees
Convert radians to degrees.

4年弱 前

解決済み


Calculate Resistance 2
In this problem, you have to calculate Resistance R of a linear conductor having voltage V across it and current I is passing i...

4年弱 前

解決済み


Calculate Resistance
Calculate Resistance R of a linear conductor having resistivity p, length l and area A

4年弱 前

解決済み


Add 2 Vectors

4年弱 前

解決済み


Cull vector elements that contain a specified digit
Given inputs of (1) a row vector and (2) a digit, identify the elements of that vector that contain the digit, remove them, and ...

4年弱 前

解決済み


Is my wife right? Now with even more wrong husband
Again, as in "Is my wife right?" ( <http://www.mathworks.com/matlabcentral/cody/problems/149-is-my-wife-right> ), answer 'yes' r...

4年弱 前

解決済み


Determine if a row vector has NaN
Determine if a row vector x has NaN

4年弱 前

解決済み


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

4年弱 前

解決済み


Find remainder when x is divided by 3
Find remainder when x is divided by 3

4年弱 前

解決済み


multiply an array by its position number
You have given an array. Multiply an array by its position number

4年弱 前

解決済み


Determine whether the input is divisible by 3 as well as 5
If the input is divisible by 3 as well as 5 then the output should be 'true' otherwise 'false'

4年弱 前

解決済み


find the mean of all elements in a matrix
given a matrix, just find the mean of all elements in the matrix

4年弱 前

解決済み


find a specific element from an matrix
Find the element from matrix which is in 2nd row and 3rd column.

4年弱 前

解決済み


Display positive elements of matrix.
Display positive elements of matrix.

4年弱 前

解決済み


Calculate the values of a polynomial.
Calculate the values of a polynomial.Input parameter p - vector of polynomial coefficients, x - matrix of the argument values. ...

4年弱 前

解決済み


Sum positive elements of matrix.
Calculate sum of positive elements of the matrix.

4年弱 前

解決済み


Find product of eigenvalues of n*n magic matrix.
Find product of eigenvalues of n*n magic matrix. Example n=3 Matrix= [ 8 1 6; 3 5 7; 4 ...

4年弱 前

解決済み


Find sum of negative elements in row.
Find sum of negative elements in row. Example x=[1 -5 3 4 -6 6 7 8 9 10] result = -11

4年弱 前

解決済み


Convert array of decimal numbers into binary numbers array.
Convert an array of decimal numbers into binary numbers array. For example: x = [1 2 3 4 5 6 7 8]; result = [1; 10; 11;...

4年弱 前

解決済み


Convert binary numbers array into array of decimal numbers.
Convert binary numbers array into array of decimal numbers. Example x=[ 11001000 ; 11001001 ; 11001010 ; 11001011 ; 11001100 ;...

4年弱 前

解決済み


Create a random logical vector of N elements of which M are true.
Your task for tomorrow is to create a random binary (logical) vector of N elements of which M are true. For example: ran...

4年弱 前

解決済み


Create the following sequence : 0 1 1 4 9 25 64 169 ...
The sequence 0, 1, 1, 4, 9, 25, 64, 169, ... represents the square of the sequence of Fibonacci numbers. Let n repres...

4年弱 前

解決済み


Spherical Volume
Calculate the volume of a sphere.

4年弱 前

さらに読み込む