문제를 풀었습니다


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

대략 1년 전

문제를 풀었습니다


What's Your BMI?
Find the body mass index. For reference, please refer to Wikipedia here: <http://en.wikipedia.org/wiki/Body_mass_index body ...

대략 1년 전

문제를 풀었습니다


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

대략 1년 전

문제를 풀었습니다


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

대략 1년 전

문제를 풀었습니다


Flip the main diagonal of a matrix
Given a n x n matrix, M, flip its main diagonal. Example: >> M=magic(5); >> flipDiagonal(M) 9 24 1 ...

대략 1년 전

문제를 풀었습니다


Sum the numbers on the main diagonal
Sum the numbers on the main diagonal of an n-by-n matrix. For input: A = [1 2 4 3 6 2 2 4 7]...

대략 1년 전

문제를 풀었습니다


Try 1.5.4: Celsius to Fahrenheit
Write a program to convert an input given in Celsius to Fahrenheit. Examples: Input celsiusValue = 100 Output fahrValu...

대략 1년 전

문제를 풀었습니다


given 3 sides, find area of this triangle
1:3 -> 0; 3:5 -> 6

대략 1년 전

문제를 풀었습니다


metre to feet converter
The idea is to make a converter, which exchange meters to feets. We use a factor of 1m = 3.281*1f. so 3m are equals to 9.843 m...

대략 1년 전

문제를 풀었습니다


Is the input divisible by 3?
Return true if the input is divisible by 3 and false if not.

대략 1년 전

문제를 풀었습니다


Print true if
all elements are larger than 5 a=[1 3 5 8 6]; b=[6 6 6 6 6]; function(a) should be false, and function(b) will be tru...

대략 1년 전

문제를 풀었습니다


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

대략 1년 전

문제를 풀었습니다


Degrees to Radian
Convert degrees to radians

대략 1년 전

문제를 풀었습니다


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

대략 1년 전

문제를 풀었습니다


Radians to Degrees
Convert radians to degrees.

대략 1년 전

문제를 풀었습니다


Sum of Two Numbers
Given two integer numbers x and y, calculate their sum and put it in z. Examples: Inputs x = 2, y = 4 Output z is 6 ...

대략 1년 전

문제를 풀었습니다


Half the length of the vector

대략 1년 전

문제를 풀었습니다


multiply by three
Given the variable x as your input, multiply it by 3 and put the result equal to y. Examples: Input x = 2 Output y is ...

대략 1년 전

문제를 풀었습니다


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

대략 1년 전

문제를 풀었습니다


Squaring Matrix
Square the following matrix using matlab % A = 1 2 3 4 5 6 7 8 So new matrix should display...

대략 1년 전

문제를 풀었습니다


ASCii Code
Using matlab, give the symbol that is associated with ASCii code 122

대략 1년 전

문제를 풀었습니다


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

대략 1년 전

문제를 풀었습니다


Double the length of the vector

대략 1년 전

문제를 풀었습니다


Seperate 2nd column in a matrix

대략 1년 전

문제를 풀었습니다


Finding fourier transform of a given vector
Find the fourier transform of a given input vector for ex a=[1 2 3 4] then y=[ 10.0000 + 0.0000i -2.0000 +...

대략 1년 전

문제를 풀었습니다


Odd row
Create a row 'y' with odd numbers where the potential maximum number is given by 'x' and the space between them by 'm'. The firs...

대략 1년 전

문제를 풀었습니다


Multiplos 7
Escreva um programa que mostre todos os números entre 5 e 100 que são divisíveis por 7, mas não são múltiplos de 5. Os números o...

대략 1년 전

문제를 풀었습니다


Is the Point in a Triangle?
Check whether a point or multiple points is/are in a triangle with three corners Points = [x, y]; Triangle = [x1, y1; x2, y...

대략 1년 전

문제를 풀었습니다


Right Triangle Side Lengths (Inspired by Project Euler Problem 39)
If p is the perimeter of a right angle triangle with integral length sides, { a, b, c }, there are exactly three solutions for p...

대략 1년 전

문제를 풀었습니다


Find the sides of an isosceles triangle when given its area and height from its base to apex
Find the sides of an isosceles triangle when given its area and the height from its base to apex. For example, with A=12 and h=...

대략 1년 전

더 보기