문제를 풀었습니다


Back to basics 10 - Max Float
Covering some basic topics I haven't seen elsewhere on Cody. Return the largest positive floating-point number MATLAB can han...

10년 초과 전

문제를 풀었습니다


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

10년 초과 전

문제를 풀었습니다


2倍してみよう - ここからスタート!
初めにこの問題を試してみよう。 入力としてxを与え、それを2倍して結果をyに代入せよ。 Examples: Input x = 2 Output y is 4 Input x = 17 Output y is 34 ...

10년 초과 전

문제를 풀었습니다


Flipping
Write code that can reverse the vector without using any sort of loop. Example Given the input vector A = [ 1 2 3 4 5...

10년 초과 전

문제를 풀었습니다


Transpose
Write a MATLAB script in order to convert a random length row vector (v) into a column vector.

10년 초과 전

문제를 풀었습니다


write an expression
output is five more than twice an input number.

10년 초과 전

문제를 풀었습니다


Create a Matrix of Zeros
Given an input x, create a square matrix y of zeros with x rows and x columns.

10년 초과 전

문제를 풀었습니다


Triangle sequence
A sequence of triangles is constructed in the following way: 1) the first triangle is Pythagoras' 3-4-5 triangle 2) the s...

10년 초과 전

문제를 풀었습니다


only input
Return the output without writing any code into the function.

10년 초과 전

문제를 풀었습니다


Matlab Basics - y as a function of x
write a script to calculate y as a function of x, such that y = 6x^2 + 5x - 2

10년 초과 전

문제를 풀었습니다


calculate the tangent of angle in radians
Calculate the tangent of angle in degrees

10년 초과 전

문제를 풀었습니다


Counting down
Create a vector that counts from 450 to 200 in increments of 10.

10년 초과 전

문제를 풀었습니다


Let's see how peculiar we can get
The task is to multiply two numbers. But do it in the most peculiar possible way.

10년 초과 전

문제를 풀었습니다


Declaring a string
* Assign streetAddress with the string 1313 Mockingbird Lane.

10년 초과 전

문제를 풀었습니다


Compute LOG(1+X) in natural log
Compute LOG(1+X) in natural log

10년 초과 전

문제를 풀었습니다


Element by element multiplication of two vectors
Given two input vectors, return the element-by-element product. Example A = [1 2 3] B = [7 3 1] The answer should be...

10년 초과 전

문제를 풀었습니다


factorial of a number x
Factorial of a number x

10년 초과 전

문제를 풀었습니다


Plus x: A first program
_Solve this problem in Mathwork's online Cody system._ Write a statement that assigns y with 5 plus x. Ex: If input x = 2,...

10년 초과 전

문제를 풀었습니다


Unit Matrix
Given n, you should return an n-by-n unit matrix. Example: If input is n=2 then A = [ 1 0 0 1 ] If input ...

10년 초과 전

문제를 풀었습니다


Matlab Basics II - Free Fall
An object freely falling from rest under gravity covers a distance x given by: x = 1/2 gt^2 write a function that calculat...

10년 초과 전

문제를 풀었습니다


times 5
Given the variable x as your input, multiply it by five and put the result in y.

10년 초과 전

문제를 풀었습니다


ベクトルのスケーリング
入力したベクトルの大きさを1にしてください。

10년 초과 전

문제를 풀었습니다


Calculate SImple Interest
SI=P*T*R

10년 초과 전

문제를 풀었습니다


Speed of car
Calculate the Speed of car given its Distance travelled and time taken in x and y respectively

10년 초과 전

문제를 풀었습니다


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...

10년 초과 전

문제를 풀었습니다


Box!
Given a box, find the volume of the cube. With each side = a.

10년 초과 전

문제를 풀었습니다


Alkane
Given a number, x, that is equal to the number of carbon atoms in an <http://en.wikipedia.org/wiki/Alkane alkane>, find, y, the ...

10년 초과 전

문제를 풀었습니다


Kinetic Energy
Given the mass m and velocity v of an object, determine its <http://en.wikipedia.org/wiki/Kinetic_energy kinetic energy>.

10년 초과 전

문제를 풀었습니다


Potential Energy
Calculate the potential energy of a rock.

10년 초과 전

문제를 풀었습니다


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!

10년 초과 전

더 보기