문제를 풀었습니다


Is it column vector?
Is it column vector? Check vector for column vector without using iscolumn function.

대략 5년 전

문제를 풀었습니다


Right and wrong
Given a vector of lengths [a b c], determines whether a triangle with those sides lengths is a right triangle: <http://en.wikipe...

대략 5년 전

문제를 풀었습니다


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

대략 5년 전

문제를 풀었습니다


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

대략 5년 전

문제를 풀었습니다


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

대략 5년 전

문제를 풀었습니다


Number of toolboxes?
Return a number equal to the number of toolboxes available to the Cody solvers.

대략 5년 전

문제를 풀었습니다


2 b | ~ 2 b
Given a string input, output true if there are 2 b's in it, false if otherwise Examples: 'Macbeth' -> false 'Publius Cor...

대략 5년 전

문제를 풀었습니다


Do you like your boss?
Do you like your boss? Answer can be any string! For example: Boss = 'Do you like your boss?'; Output = 'yes' or ...

대략 5년 전

문제를 풀었습니다


Determine the number of odd integers in a vector
Determine the number of unique odd integers in a vector. Examples: Input x = [2 5 8 3 7 1]; Output y = 4; Inp...

대략 5년 전

문제를 풀었습니다


Geometric series
Find the sum, given the first term t1, the common ratio r, and number of terms n. Examples If input t1=1, r=1, n=7 the...

대략 5년 전

문제를 풀었습니다


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

대략 5년 전

문제를 풀었습니다


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

대략 5년 전

문제를 풀었습니다


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

대략 5년 전

문제를 풀었습니다


convert matrix to single column
given any matrix, convert it to single column

대략 5년 전

문제를 풀었습니다


sum of non-primes
The sum of the non-primes no larger than 10 is 1+4+6+8+9+10=38 Find the sum of all the positive non-prime integers that do no...

대략 5년 전

문제를 풀었습니다


Building matrices
If you have matrix A, create matrix B using matrix A as an "element" A = [1 2 3 4; 5 6 7 8...

대략 5년 전

문제를 풀었습니다


05 - Vector Equations 2
Define the vectors _aVec_ and _bVec_: <<http://samle.dk/STTBDP/Assignment1_2a.png>> and <<http://samle.dk/STTBDP/Assig...

대략 5년 전

문제를 풀었습니다


07 - Common functions and indexing 6
Create a variable _m_ as a magic square with the size 6 x 6 Magic squares are defined as square matrices, where the sum of a...

대략 5년 전

문제를 풀었습니다


07 - Common functions and indexing 4
Define the matrix _cMat_: <<http://samle.dk/STTBDP/Assignment1_3c.png>> ( _cMat_ = 10x10 matrix where the numbers from 1 t...

대략 5년 전

문제를 풀었습니다


Area of a circle
Find the value for area of the circle if diameter is given

대략 5년 전

문제를 풀었습니다


Area of a Square
Inside a square is a circle with radius r. What is the area of the square?

대략 5년 전

문제를 풀었습니다


Find the nearest integer
Given a vector of integers and a real number find the closest integer. EX: >> a = [2 4 5 6 8 10]; >> b = 4.6; >> nea...

대략 5년 전

문제를 풀었습니다


07 - Common functions and indexing 3
Define _eMat_: <<http://samle.dk/STTBDP/Assignment1_3e.png>> Create the variable _eMat2_, which is equal to _eMat_ with th...

대략 5년 전

문제를 풀었습니다


07 - Common functions and indexing 2
Define _eMat_: <<http://samle.dk/STTBDP/Assignment1_3e.png>> Calculate eMean as the mean across the rows of _eMat_. The an...

대략 5년 전

문제를 풀었습니다


Rounding
Round 10.67 and make 'y' equal to that number.

대략 5년 전

문제를 풀었습니다


factorial of a number x
Factorial of a number x

대략 5년 전

문제를 풀었습니다


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

대략 5년 전

문제를 풀었습니다


Area of a triangle
A triangle is given with base *'b'* ,vertical hight *'h'* . then find it's area.

대략 5년 전

문제를 풀었습니다


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

대략 5년 전

문제를 풀었습니다


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

대략 5년 전

더 보기