Gelöst


How to power of a given number&exponent?
How to power of a given number&exponent?

mehr als 9 Jahre vor

Gelöst


Clipper Function
Create a function that emulates a clipper circuit Given sin wave, t and the constant value for clipping, and the direction to re...

mehr als 9 Jahre vor

Gelöst


Clamper Function
Create a function that emulates a clamper circuit Given sin wave, t and the constant value for clamping

mehr als 9 Jahre vor

Gelöst


how to create zero square matrix with given order?
y-Zero square matrix with given input order x.

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


Create sine function out of cosine
Please don't use sin(x) directly

mehr als 9 Jahre vor

Gelöst


Create cosine function out of sine
Please dont use cos(x) directly

mehr als 9 Jahre vor

Gelöst


how to find size of a matrix?
how to find size of a matrix?

mehr als 9 Jahre vor

Gelöst


A shooting competition
In a shooting competition, the target is a square of side L containing a circle of radius R<=L/2. A player scores one point if h...

mehr als 9 Jahre vor

Gelöst


Find my daddy short leg
Given the ratio of the two legs,and the hypotenuse, find the value of the shorter leg

mehr als 9 Jahre vor

Gelöst


Non trivial identities - round
Return x after rounding it.

mehr als 9 Jahre vor

Gelöst


Which coins to give
I was in shop today. I admired, how shop assistant had to think, which coins to give me. The task is we have a vector v=[0.5 0....

mehr als 9 Jahre vor

Gelöst


Performance - summation
Given a vector of natural numbers x = [1,2,3,...,N] compute the sum of its elements by not stressing the machine too much...

mehr als 9 Jahre vor

Gelöst


Non trivial identities - division
Return x after dividing it.

mehr als 9 Jahre vor

Gelöst


Non trivial identities - multiplication
Return x after multipying it.

mehr als 9 Jahre vor

Gelöst


Find the numeric characters in a string and return their index
Given a string S, return the index of any numeric characters. S = 'The next meeting will be held in 2 weeks.'; idx = fin...

mehr als 9 Jahre vor

Gelöst


Vector Multiplication
Vector Multiplication of three matrix as shown in test cases.

mehr als 9 Jahre vor

Gelöst


Nth root
Nth root of a number x

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


Basic commands - rounding
make a function which will round to integer, which is nearer to zero. Example x=[-2.5 2]; y=[-2 2];

mehr als 9 Jahre vor

Gelöst


Basic commands - amount of inputs
Make a function, which will return amount of given inputs Example: amountinput(1,2,4,3,10) -> 5 , because we gave functio...

mehr als 9 Jahre vor

Gelöst


Basic commands - search path
Please list all search path from Matlab.

mehr als 9 Jahre vor

Gelöst


Rotate Matrix Depending on the input
Rotate matrix (CounterClockwise) via 90, 180 or -90 depending on the input Ex. a = [1 2 3; 4 5 6; 7 8 9] b = 90; ...

mehr als 9 Jahre vor

Gelöst


BASICS - sum part of vector
Please make a function, where as input you get vector "x" and and vector "c", where in "c" vector you get indexes to sum. Examp...

mehr als 9 Jahre vor

Gelöst


Calculate the answer to life the universe and everything
<https://en.wikipedia.org/wiki/42_(number)>

mehr als 9 Jahre vor

Gelöst


Find max prime number
Given integer number n. Find the max prime number (mpn) that smaller than or equal to n. Example: n = 10 --> mpn = 7

mehr als 9 Jahre vor

Gelöst


All odd - all even
All odd numbers in x are added, while all even numers are subtracted from this. example: x = [1 2 3 4 5]; y = +(1+3+5)-...

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


Add 2
Add 2 to the input x

mehr als 9 Jahre vor

Mehr laden