문제를 풀었습니다


Find out value of sine given by degree.
Find out value of sine given by degree. If theta=30, it's value must be 0.5.

대략 8년 전

문제를 풀었습니다


Matlab Basics II - Max & Index of Max
Write a function that takes a vector x, then returns both the max value in x and its location in the vector for example x ...

대략 8년 전

문제를 풀었습니다


Calculate volume of box
Calculate the volume of box,hiven its sides

대략 8년 전

문제를 풀었습니다


Write a code that will follow the equation y = x * (x + x) * x.
If x = 5, y = 5 * (5+5) * 5 = 250

대략 8년 전

문제를 풀었습니다


Calculate distance travelled when given radius and rotations
When given radius of wheel and number of rotations calculate total distance travelled consider pi=3.14

대략 8년 전

문제를 풀었습니다


Determine the mean of matrix
Determine the mean of matrix without using mean function Hint: use simple algorithm

대략 8년 전

문제를 풀었습니다


Summation of array
Given an array, Find the sum of all of the elements in it Examples: Input x = [1 2 3 5; 4 5 6 7]; Output y is 33

대략 8년 전

문제를 풀었습니다


Square Diagonal
If n is the given number, then make a diagonal matrix of size 2*2 with the square of that number.

대략 8년 전

문제를 풀었습니다


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

대략 8년 전

문제를 풀었습니다


Back to Basics - Find no. of elements in a matrix?
Let A be a m*n matrix. Find the total no. of elements in A ? (Hint - formula based) A = [1 2 3;4 5 6]; output = 6

대략 8년 전

문제를 풀었습니다


Matlab Basics II - Velocity of a particle
A particle is moving in space, such that it's velocity is given by: <<http://s30.postimg.org/5rf1xtvj5/cody1.png>> write a...

대략 8년 전

문제를 풀었습니다


Square the input
Given a scalar or vector x, return the square of each element. Example x = [7 2] answer = [49 4]

대략 8년 전

문제를 풀었습니다


Is My Wife Wrong?
Answer the question. (see also <http://www.mathworks.com/matlabcentral/cody/problems/149-is-my-wife-right Problem 149: Is my ...

대략 8년 전

문제를 풀었습니다


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

대략 8년 전

문제를 풀었습니다


Calculate square and cube of number
Calculate square and cube of number x

대략 8년 전

문제를 풀었습니다


Find the area of a triangle
Given a triangle with a base b and height h, return the triangle area.

대략 8년 전

문제를 풀었습니다


Area of rhombus
Calculate the rhombus area

대략 8년 전

문제를 풀었습니다


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

대략 8년 전

문제를 풀었습니다


Generate pi using logarithm
Generate pi using logarithm

대략 8년 전

문제를 풀었습니다


square root
Find the square root (y) of an input (x).

대략 8년 전

문제를 풀었습니다


Test Problem; Create a 5x5 array containing all ones
This is a test for learning the process of creating a Cody problem. The goal of this test problem will be to create an array,...

대략 8년 전

문제를 풀었습니다


Matlab Basics II - Count rows in a matrix
Write a function that returns that number of rows in a vector or matrix x example: x = [1; 2; 3] output = 3

대략 8년 전

문제를 풀었습니다


y equals x divided by 2
function y = x/2

대략 8년 전

문제를 풀었습니다


Finding perimeter of a rectangle
A rectangle has a length of x centimeters and a width of w centimeters. Find the perimeter.

대략 8년 전

문제를 풀었습니다


Array of Ones
Create a 100 X 100 array of ones.

대략 8년 전

문제를 풀었습니다


What is Sum Of all elements of Matrix
Given the matrix x, return the sum of all elements of matrix. Example: Input x = [ 1 2 0 0 0 0 6 9 3 3 ] ...

대략 8년 전

문제를 풀었습니다


Convert yards to feet
The goal of this script is to convert a value given in yards to feet.

대략 8년 전

문제를 풀었습니다


Matlab Basics II - squares
Write a function that takes matrix A, and squares each element in the matrix example: A = [1 2 3] output = [1 4 9]

대략 8년 전

문제를 풀었습니다


find the surface area of a cube
given cube side length x, find the surface area of the cube, set it equal to y

대략 8년 전

문제를 풀었습니다


square number
Square a number

대략 8년 전

더 보기