已解决


Increment a number, given its digits
Take as input an array of digits (e.g. x = [1 2 3]) and output an array of digits that is that number "incremented" properly, (i...

5 years 前

已解决


07 - Common functions and indexing 3
Define _eMat_: <<http://samle.dk/STTBDP/Assignment1_3e.png>> Create the variable _eMat2_, which is equal to _eMat_ with th...

5 years 前

已解决


Remove the Zero
Given an array n, remove all zeros

5 years 前

已解决


Find Logic 21

5 years 前

问题


Find Logic 21

5 years 前 | 1 | 239 个解题者

已解决


Flip the main diagonal of a matrix
Given a n x n matrix, M, flip its main diagonal. Example: >> M=magic(5); >> flipDiagonal(M) 9 24 1 ...

5 years 前

已解决


Rounding
Round 10.67 and make 'y' equal to that number.

5 years 前

已解决


Binary Coder
Take an input number and print the binary value of this number.

5 years 前

已解决


Find Logic 20

5 years 前

问题


Find Logic 20

5 years 前 | 3 | 332 个解题者

已解决


Find Logic 19

5 years 前

问题


Find Logic 19

5 years 前 | 5 | 602 个解题者

已解决


square number
Square a number

5 years 前

已解决


06 - Matrix Equations 3
Define the matrices _aMat_, _bMat_, and _cMat_: <<http://samle.dk/STTBDP/Assignment1_3a.png>> ( _aMat_ = 9x9 matrix full o...

5 years 前

已解决


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

5 years 前

已解决


06 - Matrix Equations 1
Define the vectors _aVec_ and _bVec_ and the matrix _aMat_: <<http://samle.dk/STTBDP/Assignment1_2a.png>> and <<http:/...

5 years 前

已解决


Square root of number
Square root of given number.

5 years 前

已解决


Perfect Square or not
find Given input x is perfect square or not,if yes then output y=1.else y=0

5 years 前

已解决


Convert Fahrenheit to Celsius
Calculate the Celsius temperature C given the Fahrenheit temperature F. Examples: Input F = 90 Output C is 32.22 I...

5 years 前

已解决


Sum of diagonals elements of a matrix
Given a matrix, return the sum of all the elements across the diagonals. E.g. A = [1 2 3; 4 5 6; 7 8 9;...

5 years 前

已解决


Area of rhombus
Calculate the rhombus area

5 years 前

已解决


Find Logic 18

5 years 前

问题


Find Logic 18

5 years 前 | 4 | 527 个解题者

已解决


Number of toolboxes?
Return a number equal to the number of toolboxes available to the Cody solvers.

5 years 前

已解决


Find Logic 17

5 years 前

问题


Find Logic 17

5 years 前 | 7 | 410 个解题者

已解决


sum of first 'n' terms
Given n=10, find the sum of first 'n' terms Example: If n=10, then x=1,2,3,4,5,6,7,8,9,10. The sum of these n=10 terms is 55...

5 years 前

已解决


Find Logic 16

5 years 前

问题


Find Logic 16

5 years 前 | 7 | 350 个解题者

已解决


Find Logic 15

5 years 前

加载更多