Solved

Function composition - harder
Write a function that accepts an arbitrary number of function handles f_1, f_2, ..., f_n and returns the composition h. That is,...

13 dagar ago

Solved

Function composition
Write a function that accepts two function handles f and g and returns the composition h. That is, h = (f o g)(x) = f(g(x)) ...

13 dagar ago

Solved

Rank of magic square (for beginners)
Compute the rank r of a magic square of order n WITHOUT rank and magic functions.

13 dagar ago

Solved

Divisors for big integer
Inspired by Problem 1025 and Project Euler 12. Given n, return the number y of integers that divide N. For example, with ...

13 dagar ago

Solved

Make a run-length companion vector
Given a vector x, return a vector r that indicates the run length of any value in x. Each element in r shows how many times the ...

13 dagar ago

Solved

02 - Vector Variables 4
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_2d.png>> (Logarithmically spaced numbers between 1 and 1...

13 dagar ago

Solved

Do Fast Fourier Transformation
Example Fast Fourier Transformation from vector [2,1]) ans = 3 1

13 dagar ago

Solved

MATCH THE STRINGS (2 CHAR) very easy
Match the given string based on first two characters on each string. For example A='harsa'; b='harish'; result '1' ...

13 dagar ago

Solved

Convert binary numbers to hexadecimal numbers
Function must convert the input vector x composed of 0 and 1 (length is a multiple of 8) in hexadecimal. Most significant bit is...

13 dagar ago

Solved

Calculate FFT
Calculate the fft manually, without using matlab's builtin function. No cheating allowed.

13 dagar ago

Solved

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

13 dagar ago

Solved

Throw common elements of two vector arrays in sorted manner
Throw common elements as output in sorted manner (acending order) of two given input vector arrays

13 dagar ago

Solved

Output a vector which is table of 9
Output a vector which is table of 9

13 dagar ago

Solved

Moore-Penrose pseudoinverse of matrix
Find the command for Moore-Penrose pseudoinverse of matrix and solve

13 dagar ago

Solved

Delete blanks at the end of string
you got to delete all blank spaces which appears at the end of string

13 dagar ago

Solved

Permutations of input vector
Find and output all permutations of given vector

13 dagar ago

Solved

Is it prime?
Given a number, check whether it is prime or not. If prime output is true, otherwise false.

13 dagar ago

Solved

Xor of matrix
you have to set exclusive OR of two arrays

13 dagar ago

Solved

To convolve two vectors
To convolve two vectors

13 dagar ago

Solved

volume of torus
Find volume of torus with a as major radius and b as minor

13 dagar ago

Solved

Step up
For given input array, output a array with all elements step up by two

13 dagar ago

Solved

Consecutive Prime Numbers

13 dagar ago

Solved

Polygon in a unit circle

13 dagar ago

Solved

Area of Cylindrical Shell
Consider a cylinder with a non-zero thickness with an inner radius of r1 and an outer radius of r2. If the height of the cylinde...

13 dagar ago

Solved

Temperature Conversion 3

13 dagar ago

Solved

Temperature Conversion 2

13 dagar ago

Solved

Energy Conversion 2

13 dagar ago

Solved

Area Conversion 2

13 dagar ago

Solved

Energy Conversion 1

13 dagar ago