Solved


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 years ago

Solved


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 years ago

Solved


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 years ago

Solved


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 years ago

Solved


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 years ago

Solved


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 years ago

Solved


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

3 years ago

Solved


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

3 years ago

Solved


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

3 years ago

Solved


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

3 years ago

Solved


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 years ago

Solved


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

3 years ago

Solved


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 years ago

Solved


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

3 years ago

Solved


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

3 years ago

Solved


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

3 years ago

Solved


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 years ago

Solved


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 years ago

Solved


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 years ago

Solved


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 years ago

Solved


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 years ago

Solved


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

3 years ago

Solved


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

3 years ago

Solved


Distance Travelled by Vehicle

3 years ago

Solved


Effective Nuclear Charge

3 years ago

Solved


Find square of given number
Find Square of any number

3 years ago

Solved


10% Discount

3 years ago

Solved


Find Logic 2

3 years ago

Load more