A résolu


PIN code III

environ 5 ans il y a

A résolu


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

environ 5 ans il y a

A résolu


Remnant

environ 5 ans il y a

A résolu


PIN code II

environ 5 ans il y a

A résolu


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

environ 5 ans il y a

A résolu


area

environ 5 ans il y a

A résolu


Return multiples of 3

environ 5 ans il y a

A résolu


speed limit alert

environ 5 ans il y a

A résolu


Insert zeros

environ 5 ans il y a

A résolu


Swap

environ 5 ans il y a

A résolu


Set zero

environ 5 ans il y a

A résolu


Matrix operation

environ 5 ans il y a

A résolu


Product of elements in a column

environ 5 ans il y a

A résolu


Area of a triangle given its sides

environ 5 ans il y a

A résolu


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.

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

A résolu


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

plus de 5 ans il y a

Charger plus