Submitted

Weighted K-Nearest Neighbors (WKNN)

Weighted K-Nearest Neighbors (WKNN) classifier

2 years ago | 5 downloads |

Submitted

a modified shuffled frog leaping optimization algorithm

a modified shuffled frog leaping optimization algorithm

2 years ago | 5 downloads |

Submitted

a new shuffled frog leaping optimization algorithm (1)

a new shuffled frog leaping optimization (FLO) algorithm (1)

2 years ago | 3 downloads |

Submitted

optimal DG unit allocation using Genetic Algorithm

optimal Distributed Generation unit allocation using Genetic Algorithm

2 years ago | 42 downloads |

Submitted

Semantic Breast Tumor Segmentation by CNN

Semantic Breast Tumor Segmentation by Convolutional Neural Network in MRI images

2 years ago | 11 downloads |

Submitted

Feature Selection in Classification using Genetic Algorithm

Feature Selection (reduction) in data-mining using Genetic Algorithm

2 years ago | 17 downloads |

Submitted

Wormhole detection in MANET using MLP

Wormhole attack detection in Mobile Ad-hoc Networks using a Multi-Layer Neural Network

2 years ago | 11 downloads |

Submitted

Persian License Plate Digit Recognition by CNN

Persian digit Recognition in Iranian License Plates by Convolutional Neural Network

2 years ago | 5 downloads |

Submitted

Clustering-based algorithms for breast tumor segmentation

Clustering-based algorithms for breast tumor segmentation using: k-means, fuzzy c-means, & optimized k-means (by Cuckoo Search O...

2 years ago | 14 downloads |

Submitted

Shuffled Genetic-based Task Scheduling

Task Scheduling using a shuffled genetic algorithm in distributed systems

2 years ago | 4 downloads |

Submitted

Support Vector Machine using sub-gradient descent

This a Support Vector Machine code for 2-classes problems.

3 years ago | 7 downloads |

Solved

Draw a 'N'!

Given n as input, generate a n-by-n matrix 'N' using 0 and 1 . Example: n=5 ans= [1 0 0 0 1 1 1 0 0 1 1 0 ...

3 years ago

Solved

Divisible by 5

Pursuant to the <http://www.mathworks.com/matlabcentral/cody/problems/42404-divisible-by-2 first problem> in this series, this o...

3 years ago

Solved

Can we make a triangle?

Given three positive number, check whether a triangle can be made with these sides length or not. remember that in a triangle su...

3 years ago

Solved

Doubling elements in a vector

Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

3 years ago

Submitted

Voice Activity Detection (VAD) - Rabiner1975

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

3 years ago | 11 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')

4 years ago | 1

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

4 years ago | 2

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

4 years 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

4 years ago | 10 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://...

4 years ago

Solved

Mysterious digits operation (easy)

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

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

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

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

4 years 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),....

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

4 years ago

Solved

Feeling lucky?

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

4 years ago