문제를 풀었습니다


Construct an array
* Construct an row array named observedValues with elements sensorReading1, sensorReading2, and sensorReading3.

거의 8년 전

문제를 풀었습니다


Project Euler: Problem 6, Natural numbers, squares and sums.
The sum of the squares of the first ten natural numbers is, 1^2 + 2^2 + ... + 10^2 = 385 The square of the sum of the first ...

거의 8년 전

문제를 풀었습니다


Back to basics 12 - Input Arguments
Covering some basic topics I haven't seen elsewhere on Cody. Return a value equal to the number of input arguments to the fun...

거의 8년 전

문제를 풀었습니다


Declaring a character
* Assign middleInitial with the character T.

거의 8년 전

문제를 풀었습니다


Number of Horns on a unicorn!
Calculate the number of horns on a *unicorn*! And I'm talking about a unicorn with not more than one horn on it!

거의 8년 전

문제를 풀었습니다


Compute a dot product of two vectors x and y
x and y are input vectors, d is a number and contains their dot product

거의 8년 전

문제를 풀었습니다


Add two numbers
Calculate the sum of two numbers. Example input = [2 3] output = 5

거의 8년 전

문제를 풀었습니다


Replace multiples of 5 with NaN
It is required to replace all values in a vector that are multiples of 5 with NaN. Example: input: x = [1 2 5 12 10 7] ...

거의 8년 전

문제를 풀었습니다


length of a vector
Find twice the length of a given vector.

거의 8년 전

문제를 풀었습니다


Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

거의 8년 전

문제를 풀었습니다


kmph to mps
convert kilometer per hour to meter per second

거의 8년 전

문제를 풀었습니다


Replace May with April
For instance, if the input is input_str = 'The flowers may bloom in April'; then the output is output_str = 'The flo...

거의 8년 전

문제를 풀었습니다


Relational operators and row arrays: Run times
* Construct a row array fastRunTimes containing all elements of runTimes equal to or less than 480 seconds. Ex: If runTimes =...

거의 8년 전

문제를 풀었습니다


Back to basics 5 - Clipboard
Covering some basic topics I haven't seen elsewhere on Cody. Copy the input string to the clipboard

거의 8년 전

문제를 풀었습니다


Multiple element-wise operations: Percent change
Row arrays sales2013 and sales2014 reflect the quarterly sales (in millions) of a popular potato chip company. Write a statement...

거의 8년 전

문제를 풀었습니다


Set the array elements whose value is 13 to 0
Input A either an array or a vector (which can be empty) Output B will be the same size as A . All elements of A equal to 13...

거의 8년 전

문제를 풀었습니다


Return area of square
Side of square=input=a Area=output=b

거의 8년 전

문제를 풀었습니다


Back to basics 3 - Temp Directory
Covering some basic topics I haven't seen elsewhere on Cody. Return a string that is the path to the system's current temp di...

거의 8년 전

문제를 풀었습니다


Count photos
Given n people, everyone must have pictures taken with everyone, each photo includes only two persons, please count the total nu...

거의 8년 전

문제를 풀었습니다


Find the largest value in the 3D matrix
Given a 3D matrix, A, find the largest value. E.g. >> A = 1:9; >> A=reshape(A,[3 1 3]); >> islargest(A) ans = 9

거의 8년 전

문제를 풀었습니다


Logical indexing: High scores
Row array gameScores contains all player scores. Construct a row array highScores than contains all player scores greater than 5...

거의 8년 전

문제를 풀었습니다


Produce a sine wave
Produce a sine wave with amplitude 3: <<http://blogs.mathworks.com/images/seth/cody/sine-eqn.png>>

거의 8년 전

문제를 풀었습니다


Back to basics 8 - Matrix Diagonals
Covering some basic topics I haven't seen elsewhere on Cody. Given an input vector of numbers, output a square array with the...

거의 8년 전

문제를 풀었습니다


Connect blocks in a model
Connect the blocks in the model to produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/connect-blocks...

거의 8년 전

문제를 풀었습니다


surface of a spherical planet
you just discovered its circumference, that is the input.

거의 8년 전

문제를 풀었습니다


Factorize THIS, buddy
List the prime factors for the input number, in decreasing order. List each factor only once, even if the factorization includes...

거의 8년 전

문제를 풀었습니다


Back to basics 6 - Column Vector
Covering some basic topics I haven't seen elsewhere on Cody. Given an input vector, output true or false whether it is a colu...

거의 8년 전

문제를 풀었습니다


Make one big string out of two smaller strings
If you have two small strings, like 'a' and 'b', return them put together like 'ab'. 'a' and 'b' => 'ab' For extra ...

거의 8년 전

문제를 풀었습니다


Back to basics 4 - Search Path
Covering some basic topics I haven't seen elsewhere on Cody. Return a string that is the user's portion of the current search...

거의 8년 전

문제를 풀었습니다


Constructing strings
* Construct a string alphaString from 'a' to endLetter, using the double colon operator. Ex: If endLetter = 'e', then alphaSt...

거의 8년 전

더 보기