Check Digit - 01
The International Standard Book Number (ISBN) is a numeric commercial book identifier that is intended to be unique.
It used ...
6 years 前
已解决
Geometric Series
Given x and n, give the sum of x ^ 1 to x ^ n. You should not have to use a loop for this.
6 years 前
已解决
Vector to 3-Column Matrix
Consider a vector *A* such as
A = [1 2 3 3 4 5 6]
Can you convert this vector to a three-column matrix like this:
...
6 years 前
已解决
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), ...
random picture with random colours
write a function which creates a random(x,y) matrix with random RGB colours
for example create_pic(5,5) gives us a 3d matrix.
...
Back to basics 13 - Input variables
Covering some basic topics I haven't seen elsewhere on Cody.
Return as a string the name of the input variable to the functio...
The sum of individual numbers...
Well this one is taking a number and then summing the individual parts till you reach a value of 1, 2, 3, 4, 5, 6, 7, 8, 9, or 0...