解決済み


Calculate the integral of the polynomial
for e.g. in = [3 2 1] out = [1 1 1 0]

3年以上 前

解決済み


Square root of number
Square root of given number.

3年以上 前

解決済み


Calculate the base-10 logarithm of a number
Calculate the logarithm of number x

3年以上 前

解決済み


Boustrophedon
Given a vector v and a positive integer n, return an m-by-n matrix containing the elements of v row-wise, alternating left-to-ri...

3年以上 前

解決済み


Create block matrix of integers (j+k-1) - Part II
Given m, n, p, and q, create an m-by-n matrix made up of submatrices, each sized p-by-q (if possible - the last row and column o...

3年以上 前

解決済み


Create block matrix of integers (j+k-1) - Part I
Given m, n, p, and q, create a matrix of m-by-n blocks (submatrices), each sized p-by-q. The elements of the (j,k)th block all h...

3年以上 前

解決済み


Dartboard Average II
A dartboard arranges the numbers 1 to 20 such that each value is typically flanked by quite different values - for example, 20 i...

3年以上 前

解決済み


Dartboard Average I
A dartboard arranges the numbers 1 to 20 such that each value is typically flanked by quite different values - for example, 20 i...

3年以上 前

解決済み


Possible Rugby Scores
Given a natural number s (> 4), representing a rugby team's score, return an n-by-3 matrix representing all n possible combinati...

3年以上 前

解決済み


Split Even Number Into Two Primes
Given an even whole number n (> 2), return a 2-element vector of primes, p, such that p(1) + p(2) = n. Fun note: technically it...

3年以上 前

解決済み


Determine if Input is Oddish or Evenish (Odd/Even Sum of Digits)
Given a positive integer n, determine whether n is "oddish" or "evenish" - that is, whether the sum of the digits of n is odd or...

3年以上 前

解決済み


Resizing Matrices
Take an 4x3 matrix, and resize it to a 2x6 matrix

3年以上 前

解決済み


Create cosine function out of sine
Please dont use cos(x) directly

3年以上 前

解決済み


Evened up (or not)
You will be provided with an array or matrix that contains various numbers, in addition to an evening variable, e, set to 1 or 0...

3年以上 前

解決済み


Find 100 from a Matrix and Replace With 0 with less computation time
pls use this matrix x = [208 40 167 180 112 70 192 215 90 19 231 100 9 100 97 100 ...

3年以上 前

解決済み


true or false
if the matrix has a zero, return true. else, return false

3年以上 前

解決済み


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

3年以上 前

解決済み


Find maximum value of a curve
Two vectors shall be already defined: - Input vector x (e.g. x = 0:1:10) - Result vector y (e.g. y = sin(x)) Create a n...

3年以上 前

解決済み


Finding fourier transform of a given vector
Find the fourier transform of a given input vector for ex a=[1 2 3 4] then y=[ 10.0000 + 0.0000i -2.0000 +...

3年以上 前

解決済み


Einsteinium-253 decay
Radioactive Einsteinium-253 has a half-life of 1,768,608 seconds. Given 1000mg of Einsteinium-253 at t=0 days, how much is lef...

3年以上 前

解決済み


Matlab Basics II - 3 Dimensional Arrays
Assume x is a 3D array with n pages, representing students in a class, for each student (page in the array, the 3rd dimension), ...

3年以上 前

解決済み


Determine the Anti-diagonal of a Magic Square
Determine the anti-diagonal (crossing from top right to lower left) of a magic square of size n. Examples If n = 3 y =...

3年以上 前

解決済み


Complex transpose
Calculate the transpose of a matrix having complex numbers as its elements without changing the signs of the imaginary part. ...

3年以上 前

解決済み


Volume of Cylinder
Find the volume of a cylinder

3年以上 前

解決済み


determine amount cookies left
started with 3 cookies and you never ate any how many are left

3年以上 前

解決済み


Zero Cross
Write a function that counts the number of times n a signal x changes sign. Examples x = [1 2 -3 -4 5 6 -7 8 -9 10 11] ...

3年以上 前

解決済み


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

3年以上 前

解決済み


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

3年以上 前

解決済み


Size of this cup?
The given vector has diameter of the cup in mm sampled at micrometer increments in depth from top to bottom, need output in cc a...

3年以上 前

解決済み


Matrix rotation as per given angle
Given a user defined matrix and angle of rotation, rotate the elements of output matrix as clockwise or anti-clockwise. Angle wi...

3年以上 前

さらに読み込む