Community Profile # CXD

### TJU

Last seen: 5 giorni ago Active since 2022

sqrt6661661161

Spoken Languages:
English
Professional Interests:
Mathematics and Optimization

#### Statistics

• • • • • • • • • • • • #### Content Feed

View by

Solved

Back to basics 7 - Equal NaNs
Covering some basic topics I haven't seen elsewhere on Cody. Given 2 input variables, output true if they are equal, false ot...

5 giorni ago

Solved

Conversion from hours to mili sec
Convert given input in hours to mili seconds

5 giorni ago

Solved

Create a constant offset.
Add a constant offset to an array. Example a = [1 3 5 9] offset = 2 y = [3 5 7 11]

5 giorni ago

Solved

Sum of cubes
Write a program to determine sum of cubes of first n odd numbers.

5 giorni ago

Solved

Display negative numbers
Given array,x, display all the negative numbers and display output as y. Example x=[1 -2 3 -4] , output is y=[-2 -4].

5 giorni ago

Solved

Alternate elements!
Write a function that combines two lists by alternating the elements, e.g. ['a','b','c'], ['1','2','3'] → 'a1b2c3'.

5 giorni ago

Solved

Double the next!
Given two numbers, m and n, find a matrix m x n where each element value is twice the value of the previous element. Starting fr...

5 giorni ago

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

10 giorni 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)) ...

10 giorni ago

Solved

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

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

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

10 giorni ago

Solved

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

10 giorni ago

Solved

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

10 giorni 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' ...

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

10 giorni ago

Solved

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

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

10 giorni 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

10 giorni ago

Solved

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

10 giorni ago

Solved

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

10 giorni ago

Solved

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

10 giorni ago

Solved

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

10 giorni ago

Solved

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

11 giorni ago

Solved

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

11 giorni ago

Solved

To convolve two vectors
To convolve two vectors

11 giorni ago

Solved

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

11 giorni ago

Solved

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

11 giorni ago

Solved

Consecutive Prime Numbers

11 giorni ago