문제를 풀었습니다


Add a block to a model
Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/add-block-eqn.png>> In this case, the slope of...

7년 초과 전

문제를 풀었습니다


Back to basics 1 - Saving
Covering some basic topics I haven't seen elsewhere on Cody. Given an input variable 'x', save it to disk in a file named 'co...

7년 초과 전

문제를 풀었습니다


Project Euler: Problem 10, Sum of Primes
The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17. Find the sum of all the primes below the input, N. Thank you <http:/...

7년 초과 전

문제를 풀었습니다


Rotate a Matrix by 90 degrees
Rotate a Matrix by 90 degrees Example: If the input is: X = 1 2 3 4 5 6 7 8 9 ...

7년 초과 전

문제를 풀었습니다


Fahrenheit to Celsius using multiple statements
°C = (°F - 32) x 5/9 * Write a statement that assigns fractionalMultiplier with 5/9. * Write a second statement that assign...

7년 초과 전

문제를 풀었습니다


Write an expression
Assigns finalResult with firstSample plus secondSample, squared, then divided by 3. Ex: If firstSample is 18 and secondSample is...

7년 초과 전

문제를 풀었습니다


Back to basics 11 - Max Integer
Covering some basic topics I haven't seen elsewhere on Cody. Return the largest positive integer MATLAB can handle.

7년 초과 전

문제를 풀었습니다


Compute total cost
A soda costs 2 dollars. A taco costs 3 dollars. Write a statement that assigns totalCost with the total meal cost given the numb...

7년 초과 전

문제를 풀었습니다


Assigning a sum
* Write a statement that assigns numCoins with numNickels + numDimes.

7년 초과 전

문제를 풀었습니다


Is my wife right? Now with even more wrong husband
Again, as in "Is my wife right?" ( <http://www.mathworks.com/matlabcentral/cody/problems/149-is-my-wife-right> ), answer 'yes' r...

7년 초과 전

문제를 풀었습니다


Matlab Basics - Pick out parts of a vector
Consider x a vector of length >= 7 (there are at least 7 elements in the vector, write a script that extracts the 2nd element, a...

7년 초과 전

문제를 풀었습니다


Returning a "greater than" vector
Given a vector, v, return a new vector , vNew, containing only values > n. For example: v=[1 2 3 4 5 6] n=3 vNew =...

7년 초과 전

문제를 풀었습니다


Replacing a row
For matrix G=[1 2 3; 4 5 6; 7 8 9] Replace the 2nd row with 8s **remember to create matrix G

7년 초과 전

문제를 풀었습니다


reverse string
input='rama' output='amar'

7년 초과 전

문제를 풀었습니다


Roots
Find out the roots of a given polynomial equation.Given are the coefficients of the equation.

7년 초과 전

문제를 풀었습니다


matlab indian players
answer is one of the indian matlab player(just for fun dont take serious)

7년 초과 전

문제를 풀었습니다


Matlab Basics - Sum a vector
Write a script to add up all the elements in a vector e.g. x = [1 2 3 4] --> output = 10

7년 초과 전

문제를 풀었습니다


find the maximum element of the matrix
for e.g x = [1 2; 3 4] y = 4

7년 초과 전

문제를 풀었습니다


Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
The given function returns the index of the maximum value in a given matrix. such as X=[4,3,4,5,9,12,0,5] Ans= 6 if maxim...

7년 초과 전

문제를 풀었습니다


Say something funny
Say something funny, or not. Your solution will be (fully automatically and objectively) scored based on how clever or funny ...

7년 초과 전

문제를 풀었습니다


Area of an equilateral triangle
Calculate the area of an equilateral triangle of side x. <<http://upload.wikimedia.org/wikipedia/commons/e/e0/Equilateral-tr...

7년 초과 전

문제를 풀었습니다


Who has power to do everything in this world?
There is only one person who is older than this universe. He is Indian version of Chuck Norris.

7년 초과 전

문제를 풀었습니다


Determine the square root
Determine the square root of the value the user has entered, n.

7년 초과 전

문제를 풀었습니다


Fahrenheit to Celsius converter
Convert Fahrenheit to Celsius degrees.

7년 초과 전

문제를 풀었습니다


Magic is simple (for beginners)
Determine for a magic square of order n, the magic sum m. For example m=15 for a magic square of order 3.

7년 초과 전

문제를 풀었습니다


Vectors counting by 2
Create a vector numbers from 7 to 15 in increments of 2

7년 초과 전

문제를 풀었습니다


Divide by 4
Given the variable x as your input, divide it by four and put the result in y.

7년 초과 전

문제를 풀었습니다


Create a two dimensional zero matrix
You have to create a zero matrix of size (mxn) whose inputs are m and n and the elements of your matrix should be zeros. Exam...

7년 초과 전

문제를 풀었습니다


Add 7
Given an input variable x, output a variable y that is 7 greater than x. Example: Input x = 1 Output y is 8 Input ...

7년 초과 전

문제를 풀었습니다


Create matrix of replicated elements
Given an input element x, and the dimensions, (m, n) return a matrix of size m x n filled with element x. Example: Input: ...

7년 초과 전

더 보기