Community Profile # Darina Bartova

Last seen: 3 Tage ago Active since 2021

working for UCT Prague

Programming Languages:
MATLAB
Spoken Languages:
English

#### Statistics

• • • #### Content Feed

View by

Solved

Evaluating a polynomial
Given the following polynomial and the value for x, determine y. y = 3x^5 – x^3 + 8x – 3 Example x = 1 y = 3 - 1 +...

3 Tage ago

Solved

length of a vector
Find twice the length of a given vector.

3 Tage ago

Solved

Min of a Matrix
Return the minimum value in the given matrix.

3 Tage ago

Solved

Create cosine function out of sine

3 Tage ago

Solved

Sunday bonus
Submit a solution on any Sunday and you will get 10 points. Only for MATLAB fans!

3 Tage ago

Solved

Back to basics 8 - Matrix Diagonals
Covering some basic topics I haven't seen elsewhere on Cody. Given an input vector of numbers, output a square array with the...

5 Tage ago

Solved

0<=x<=pi?
Check whether the given angle is between zero and pi. Return logical true or false.

5 Tage ago

Solved

Watt
Ampere x Volt = Watt

5 Tage ago

Solved

Sort a list of complex numbers based on far they are from the origin.
Given a list of complex numbers z, return a list zSorted such that the numbers that are farthest from the origin (0+0i) appear f...

5 Tage ago

Solved

Radiation Heat Transfer — View Factors (2)
View factors (aka configuration factors) are utilized in some radiation heat transfer models to estimate heat transfer rates bet...

9 Tage ago

Solved

Return the 3n+1 sequence for n
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

9 Tage ago

Solved

Calculating Ring Area
In two-dimensional space, a ring can be constructed by using two concentric circles. Determine the area of a ring which has r1 ...

10 Tage ago

Solved

find the maximum element of the matrix
for e.g x = [1 2; 3 4] y = 4

10 Tage ago

Solved

delta x

10 Tage ago

Solved

Row sum

10 Tage ago

Solved

Factorial

10 Tage ago

Solved

step function

10 Tage ago

Solved

Convert Fahrenheit to Celsius
Calculate the Celsius temperature C given the Fahrenheit temperature F. Examples: Input F = 90 Output C is 32.22 I...

10 Tage ago

Solved

The sum of the numbers in the vector
eg. [1,2,3]---->SUM=6

10 Tage ago

Solved

Real

10 Tage ago

Solved

Nth root
Nth root of a number x

10 Tage ago

Solved

area

10 Tage ago

Solved

Distance walked 1D
Suppose you go from position 7 to 10 to 6 to 4. Then you have walked 9 units of distance, since 7 to 10 is 3 units, 10 to 6 is 4...

15 Tage ago

Solved

Bottles of beer
Given an input number representing the number of bottles of beer on the wall, output how many are left if you take one down and ...

15 Tage ago

Solved

Create a vector whose elements depend on the previous element
The idea is to create a vector A whose elements depend on the previous element : *A(i+1) = 2*A(i)+1* *2 Inputs*: - A : The...

15 Tage ago

Solved

Change matrix to vector
Vector is a matrix whose size is 1 x n or n x 1. Change matrix to vector. x = 4 3 5 1 ...

15 Tage ago

Solved

Compute LOG(1+X) in natural log
Compute LOG(1+X) in natural log

15 Tage ago

Solved

Area of a circle
Given the radius x, y would be the area of a circle. Pi = 3.1416

15 Tage ago

Solved

Unit conversion
Convert x degree Celsius to y degree Fahrenheit.

15 Tage ago

Solved

Lambert's W
Matlab cody does not support lambertw. Try to create a lambert's w function yourself. Lambert's W is the function that solves...

18 Tage ago