M.Sc student at IRIB university.

Working on Automatic Music Generation using Evolutionary Algorithms.

Submitted

Voice Activity Detection (VAD) - Rabiner1975

Voice Activity Detection (VAD) using Rabiner and Sambur algorithm (1975) - Endpoint Algorithm

2 months ago | 13 downloads |

Answered

how to make a plot

Hi, you can use this: figure, plot(V,Fa,'-o') hold on plot(V,Fb,'-*') plot(V,Fc,'-^') legend('Fa','Fb','Fc')

how to make a plot

Hi, you can use this: figure, plot(V,Fa,'-o') hold on plot(V,Fb,'-*') plot(V,Fc,'-^') legend('Fa','Fb','Fc')

5 months ago | 0

| accepted

Answered

how can save all variables which are in function without deleting previous one ?

Hi. You can make a string in each run for your function and then use the string for your file name. for example you may use a g...

how can save all variables which are in function without deleting previous one ?

Hi. You can make a string in each run for your function and then use the string for your file name. for example you may use a g...

5 months ago | 1

| accepted

Solved

5 Prime Numbers

Your function will be given lower and upper integer bounds. Your task is to return a vector containing the first five prime numb...

5 months ago

Submitted

A simple code for Audio Compression using DCT

A simple code for Audio Compression using Discrete Cosine Transform (DCT) and evaluating by psnr, mse

6 months ago | 17 downloads |

Solved

7 segment LED display

Given a whole number, output how many segments would be lit up to display it on a 7 segment LED display (see Wikipedia: <http://...

6 months ago

Solved

Mysterious digits operation (easy)

What is this digit operation? 0 -> 0 1 -> 9 121 -> 9 44 -> 6 15 -> 5 1243 -> 7 ...

6 months ago

Solved

Magic is simple (for beginners)

Determine for a magic square of order n, the magic sum m. For example m=15 for a magic square of order 3.

6 months ago

Solved

Project Euler: Problem 8, Find largest product in a large string of numbers

Find the greatest product of five consecutive digits in an n-digit number. 73167176531330624919225119674426574742355349194934...

6 months ago

Solved

Project Euler: Problem 1, Multiples of 3 and 5

If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23...

6 months ago

Solved

Sum of first n terms of a harmonic progression

Given inputs a, d and n, return the sum of the first n terms of the harmonic progression a, a/(1+d), a/(1+2d), a/(1+3d),....

6 months ago

Solved

Community Problem 500!

In honor of this being the 500th Community problem, see if you can create a function that has a Cody size of 500. It can do any...

6 months ago

Solved

Feeling lucky?

Guess which number Cody is thinking (1 to 10)? (This is a game of luck more than skill. Good luck!)

6 months ago

Solved

intervals

Write a function that takes an interval from a to b, and divides it into 6 parts.

6 months ago

Solved

row removal

Remove the nth row from input matrix M and return the resulting matrix in output N.

6 months ago

Solved

given number is power of n or not?

Check weather The input is power of n or not? for example x=8,n=2 --> true x=6,n=2 --> false

6 months ago

Solved

vectors counting by 5

Create a vector with numbers from x_min to x_max in increments of 5.

6 months ago

Solved

Save variables

a=[1] Save variable a that is located in workspace into current folder. File name should be 'a.mat'

6 months ago

Solved

Love triangles

Given a vector of lengths [a b c], determines whether a triangle with non-zero area (in two-dimensional Euclidean space, smarty!...

6 months ago

Solved

Generate the sum of Squares of the given number

|P(n) = 1^2 + 2^2 + ... + n^2| |P(1) = 1| |P(2) = 1 + 4 = 5;| |P(3) = 5 + 9 = 14;| |P(4) = 14 + 16 = 30;|

6 months ago

Submitted

An Adaptive Filter for Active Noise Control using LMS

Active Noise Control Using an Adaptive Filter and Least Mean Square (LMS)

6 months ago | 17 downloads |

Solved

Vectorizing, too easy or too hard?

Please insert a . before any ^, * or / in the string. That's it!!

6 months ago

Solved

Interpolator

You have a two vectors, a and b. They are monotonic and the same length. Given a value, va, where va is between a(1) and a(end...

6 months ago

Solved

Rounding off numbers to n decimals

Inspired by a mistake in one of the problems I created, I created this problem where you have to round off a floating point numb...

7 months ago

Solved

Determine point is located in a circle or not

Using input [x] and [y], determine the points (x,y) is located inside of circle (x^2+y^2=1) if point is located in circle,...

7 months ago

Solved

Kinetic Energy

Given mass, m, and kinetic energy, KE, find the velocity of the object.

7 months ago