Community Profile

photo

CXD


TJU

Last seen: 6 dagar ago Active since 2022

sqrt6661661161

Spoken Languages:
English
Professional Interests:
Mathematics and Optimization

Statistics

  • Matrix Manipulation II Master
  • Indexing II Master
  • Magic Numbers Master
  • Matrix Patterns III Master
  • Magic Numbers II Master
  • Draw Letters
  • Puzzler
  • Indexing I Master
  • Project Euler I
  • Scholar
  • CUP Challenge Master
  • Introduction to MATLAB Master

View badges

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

6 dagar ago

Solved


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

6 dagar 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]

6 dagar ago

Solved


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

6 dagar 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].

6 dagar ago

Solved


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

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

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

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

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

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

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

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

12 dagar ago

Solved


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

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

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

12 dagar ago

Solved


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

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

12 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

12 dagar ago

Solved


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

12 dagar ago

Solved


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

12 dagar ago

Solved


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

12 dagar ago

Solved


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

12 dagar ago

Solved


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

12 dagar ago

Solved


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

12 dagar ago

Solved


To convolve two vectors
To convolve two vectors

12 dagar ago

Solved


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

12 dagar ago

Solved


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

12 dagar ago

Solved


Consecutive Prime Numbers

12 dagar ago

Load more