문제를 풀었습니다


02 - Vector Variables 2
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_2b.png>>

대략 6년 전

문제를 풀었습니다


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

대략 6년 전

문제를 풀었습니다


Quantization Level
Given an 3-bit Quantizer ranging from 0-5 Volts, Determine the number of quantization level.

7년 초과 전

문제를 풀었습니다


Sum the rows
Sum the rows of the given matrix. Example x = [ 1 2 3 4 ] y = [ 3 7 ]

7년 초과 전

문제를 풀었습니다


Rankine to Kelvin Converter
Given input R, degrees Rankine, convert into degrees Kelvin.

7년 초과 전

문제를 풀었습니다


MPS to MPH
Given the speed in miles per second, find the speed in miles per hour.

7년 초과 전

문제를 풀었습니다


Kinetic Energy
Given mass, m, and kinetic energy, KE, find the velocity of the object.

7년 초과 전

문제를 풀었습니다


Joules to Megatons of TnT
Given joules, J, make a function that converts to megatons of TNT.

7년 초과 전

문제를 풀었습니다


Degrees to Radian
Convert degrees to radians

7년 초과 전

문제를 풀었습니다


Radians to Degrees
Convert radians to degrees.

7년 초과 전

문제를 풀었습니다


Area of a circle
Given the radius x, y would be the area of a circle. Pi = 3.1416

7년 초과 전

문제를 풀었습니다


Annual Salary
What is the annual salary of Mr. Cody if he works 40 hours a week and gets $x per hour and a yearly bonus of $2000? (Let, 50 wee...

7년 초과 전

문제를 풀었습니다


Unit conversion
Convert x degree Celsius to y degree Fahrenheit.

7년 초과 전

문제를 풀었습니다


Square root of a number
Write a code that will output the square root of x.

7년 초과 전

문제를 풀었습니다


Log of a number
Write a script that will give the log of x as output.

7년 초과 전

문제를 풀었습니다


Free-time Equation
Given a 7-day week, an *_nc_* -number of *_tc_* -hour classes, *_ta_* -hours awake in a day, and *_tw_* -hours that you work in ...

거의 8년 전

문제를 풀었습니다


Elapsed Time
Given two date strings d1 and d2 of the form yyyy/mm/dd HH:MM:SS (assume hours HH is in 24 hour mode), determine how much time, ...

거의 8년 전

문제를 풀었습니다


Return the largest number that is adjacent to a zero
This example comes from Steve Eddins' blog: <http://blogs.mathworks.com/steve/2009/05/27/learning-lessons-from-a-one-liner/ Lear...

거의 8년 전

문제를 풀었습니다


Transpose of matrix
Transpose of matrix as per test cases

거의 8년 전

문제를 풀었습니다


Basics: 'Find the eigenvalues of given matrix
Find the eigenvalues y for a given matrix x.

거의 8년 전

문제를 풀었습니다


So many choices
For inputs _n_ and _k_ (in that order), output the number of ways that k objects can be chosen from amongst n distinct objects. ...

거의 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년 전

문제를 풀었습니다


Values in Array
How many values are in the array

거의 8년 전

문제를 풀었습니다


Find the sum of n squares
What is the sum of the squares of the first n integers?

거의 8년 전

문제를 풀었습니다


Rotate Matrix @180 degree
Rotate Matrix @180 degree Example A=[8 1 6; 3 5 7; 4 9 2], then answer would be [2 9 4;...

거의 8년 전

문제를 풀었습니다


Throw common elements of two vector arrays in sorted manner
Throw common elements as output in sorted manner (acending order) of two given input vector arrays

거의 8년 전

문제를 풀었습니다


Rounding off numbers to n decimals
Inspired by a mistake in one of the problems I created, I created this problem where you have to round off a floating point numb...

거의 8년 전

문제를 풀었습니다


Change the sign of even index entries of the reversed vector
change the signs of the even index entries of the reversed vector example 1 vec = [4 -1 -2 9] ans = [9 2 -1 -4] example2...

거의 8년 전

문제를 풀었습니다


Insert zeros into vector
Insert zeros after each elements in the vector. Number of zeros is specified as the input parameter. For example: x = [1 ...

거의 8년 전

문제를 풀었습니다


Symmetry of vector
Determine whether the vector is symmetric or not (vector could be even or odd in length). For example: x = [1 2 3 3 2 1] ...

거의 8년 전

더 보기