已解决


PIN code III

4 years 前

已解决


F.R.I.E.N.D.S

4 years 前

已解决


Remnant

4 years 前

已解决


PIN code II

4 years 前

已解决


F.R.I.E.N.D.S

4 years 前

已解决


area

4 years 前

已解决


Return multiples of 3

4 years 前

已解决


speed limit alert

4 years 前

已解决


Insert zeros

4 years 前

已解决


Swap

4 years 前

已解决


Set zero

4 years 前

已解决


Matrix operation

4 years 前

已解决


Product of elements in a column

4 years 前

已解决


Area of a triangle given its sides

4 years 前

已解决


Subtract integers and add doubles
Create a function that subtracts a from b if a and b are integers and adds them if they are floats.

4 years 前

已解决


Compare two input matrices
Check which input matrix has more elements. Return "1" if matrix A has more elements than matrix B. Otherwise return "0". Exa...

4 years 前

已解决


Sum the 'edge' values of a matrix
Sum the 'edge' values of an input matrix (the values along the perimeter). Example [1 2 3 4 5 6 7 8 9] Output = ...

4 years 前

已解决


Pattern Sum
Write a function which receives two single digit positive integers, (k and m) as parameters and calculates the total sum as: k...

4 years 前

已解决


Weave two vectors into one
Weave the two given vectors into one as shown below. Example: If a = [1 1 1] b = [0 0 0] then y = [1 0 1 0 ...

4 years 前

已解决


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

4 years 前

已解决


Calculate the derivative of a polynomial
Example: in = [ 1 1 1 ] out = [ 2 1 ]

4 years 前

已解决


calculate linear convolution two vectors
for e.g in: a = [1 2 3] b = [4 5 6] out: y = [4 13 28 27 18]

4 years 前

已解决


03 - Matrix Variables 6
Make _fMat_ be a 5x3 matrix of random integers with values from -3 to 3 (Hint: use *randi*)

4 years 前

已解决


Flipping
Write code that can reverse the vector without using any sort of loop. Example Given the input vector A = [ 1 2 3 4 5...

4 years 前

已解决


Switch matrix to a column vector
for e.g. x = [1 2 3 4] y = 1 3 2 4

4 years 前

已解决


Sum of the Matrix Elements
Add up all the elements in a NxM matrix where N signifies the number of the rows and M signifies the number of the columns. E...

4 years 前

已解决


Determine if a Given Number is a Triangle Number
*Description:* Determine if the elements of an input array are triangle numbers and return the result as an array with the sa...

4 years 前

已解决


Distance walked 3D
suppose you go from x-y-z coordinates [3,4,2] to [0,0,2] to [0,1,2] to [1,1,2], to [1,1,20] then you walked 25 units of distance...

4 years 前

已解决


MATLAB Basic: rounding IV
Do rounding towards plus infinity. Example: -8.8, answer -8 +8.1 answer 9 +8.50 answer 9

4 years 前

已解决


Back to basics - mean of corner elements of a matrix
Calculate the mean of corner elements of a matrix. e.g. a=[1 2 3; 4 5 6; 7 8 9;] Mean = (1+3+7+9)/4 = 5

4 years 前

加载更多