문제를 풀었습니다


Add the even numbers
Add only the even numbers of x example: x = [1 2 3 4 5] the positive numbers are: 2 4, so their sum is 6

거의 3년 전

문제를 풀었습니다


Second smallest number
What is the second smallest number in x? example: x = [1 2 3 4 5 6 7 8 9] y = 2

거의 3년 전

문제를 풀었습니다


Add the positive numbers
Add only the positive numbers of x example: x = [-2 -1 0 1 2 3] the positive numbers are: 1 2 3, so their sum is 6

거의 3년 전

문제를 풀었습니다


Odd times 3
Given a input matrix x, multiply all odd values by 3. Even values remain the same. example: x = [1 2 3 4 5;... 6 7...

거의 3년 전

문제를 풀었습니다


Odd times even numbers in a matrix
First count the number of odd numbers in x, then the number of even. Return their product. example: x = [1 2] One odd ...

거의 3년 전

문제를 풀었습니다


Find and replaces spaces from a input string with *
For a given input string str, find how many spaces are there in the string and replace those spaces with * e.g. str = 'this is ...

거의 3년 전

문제를 풀었습니다


imaginary results
Return the value of the imaginary number i to the power of input argument n.

거의 3년 전

문제를 풀었습니다


MATLAB Basics: Complex Argument
For a given complex number, x, return the argument, y, in degrees.

거의 3년 전

문제를 풀었습니다


MATLAB Basics: Complex Conjugates
For a given complex number, x, return the complex conjugate, y.

거의 3년 전

문제를 풀었습니다


MATLAB Basics: Complex Numbers
For a given complex number, x, return the real and imaginary parts as a vector, y = [Real Imaginary].

거의 3년 전

문제를 풀었습니다


Fizz
Dado um número inteiro n, retorne 'fizz' se esse valor for multiplo de 3, ou retorne o valor caso contrario. Fizz(3) = 'fizz'; ...

거의 3년 전

문제를 풀었습니다


Divisible by 21
Write a function to determine if a number is divisible by 21.

거의 3년 전

문제를 풀었습니다


Find the minimal value in N*N Matrix
Suppose that we have N by N matrix, we try to find the minimal value in that matrix. examples: Input A=[1 2 3 5 6;52 58 56 45...

거의 3년 전

문제를 풀었습니다


Create tangent function out of sine function only
Please don't use cosine and tangent functions

거의 3년 전

문제를 풀었습니다


Complex transpose
Calculate the transpose of a matrix having complex numbers as its elements without changing the signs of the imaginary part. ...

거의 3년 전

문제를 풀었습니다


Convert from integer to binary
if true % decimalToBinaryVector(x) end

거의 3년 전

문제를 풀었습니다


Total resistance of resistors in parallel
What is the total resistance of a number of resistors in parallel? A vector R contains the resistances (in Ohm) of n resistors,...

거의 3년 전

문제를 풀었습니다


Total resistance of resistors in series
What is the total resistance of a number of resistors in series? A vector R contains the resistances (in Ohm) of n resistors, w...

거의 3년 전

문제를 풀었습니다


Replicate and Tile an Array
Replicate and tile an array. Example A = [1 2 3; 4 5 6; 7 8 9] B = Epli_and_Tile(A,1,2) B = [ 1 2 3 1...

거의 3년 전

문제를 풀었습니다


Flipping a Matrix
Flipping matrix up and down. If a central row is exists, leave it, and flip remaining rows. Example Mat = magic(3) ...

거의 3년 전

문제를 풀었습니다


reverse the order and combine a matrix

거의 3년 전

문제를 풀었습니다


Find the diagonal of the square of side L
You are given a square of side length L, find D the length of its diagonal.

거의 3년 전

문제를 풀었습니다


Golden ratio
Calculate the golden ratio. Hint: phi^2 = phi + 1.

거의 3년 전

문제를 풀었습니다


Area of square
Find the area of a square whose diagonal length is given as x.

거의 3년 전

문제를 풀었습니다


Distance Travelled by Vehicle

거의 3년 전

문제를 풀었습니다


Effective Nuclear Charge

거의 3년 전

문제를 풀었습니다


Test - Add sequence of numbers with given start, step, and end

거의 3년 전

문제를 풀었습니다


Find square of given number
Find Square of any number

거의 3년 전

문제를 풀었습니다


10% Discount

거의 3년 전

문제를 풀었습니다


Find Logic 2

거의 3년 전

더 보기