Submitted


circles
Draw multiple circles fast.

9 years ago | 1 download |

5.0 / 5
Thumbnail

Submitted


rectangles
Draw multiple rectangles fast.

9 years ago | 2 downloads |

0.0 / 5
Thumbnail

Solved


Simple problem creating a function from an abstract specification.
MYSTERYFUNCTION3 This takes a vector of numbers v and computes a vector w such the w[i] is the average of v[i] and the previous...

9 years ago

Solved


Perl 4: unshift
_This is part of a series of perl function which were very helpful for many perl programmers. Could you implement it in Matlab?_...

9 years ago

Solved


Calculate the probability that at least two people in a group share the same birthday.
Calculate the probability that at least two people in a group share the same birthday. Given an integer input n, return to 0.015...

9 years ago

Solved


Test if a matrix is symmetric
Write a logical function that returns 1 if the input matrix is symmetric and 0 otherwise.

9 years ago

Solved


Perl 3: shift
_This is part of a series of perl function which were very helpful for many perl programmers. Could you implement it in Matlab?_...

9 years ago

Solved


Convert given decimal number to binary number.
Convert given decimal number to binary number. Example x=10, then answer must be 1010.

9 years ago

Solved


Power of n ?
Determine if _x_ (positive integer) is a power of _n_, return true or false accordingly.

9 years ago

Solved


Strange Number Algorithms
Three integer numbers will be provided to you. Write a function to Step1: Multiply first number by 3. Step2: Add 6 with t...

9 years ago

Solved


Additive persistence
Inspired by Problem 2008 created by Ziko. In mathematics, the persistence of a number is the *number of times* one must apply...

9 years ago

Solved


Solve Linear equations
Solve Linear equations Example: x+y=2 and x+2y=3, then x and y equal to 1.

9 years ago

Solved


Power supply: 230V to 115V
The problem is simple: we have a wall outlet which supplies 230V and an apparatus that requires 115V. Software is always chea...

9 years ago

Solved


~~~~~~~ WAVE ~~~~~~~~~
|The WAVE generator| Once upon a time there was a river. 'Sum' was passing by the river. He saw the water of the river that w...

9 years ago

Solved


Blockland
Add a new block to these towers without letting them fall. To add a new block just choose the x-coordinate (between -10 and ...

9 years ago

Solved


Find the sum of n squares
What is the sum of the squares of the first n integers?

10 years ago

Solved


Rotate Matrix @180 degree
Rotate Matrix @180 degree Example A=[8 1 6; 3 5 7; 4 9 2], then answer would be [2 9 4;...

10 years ago

Submitted


tiff2dir
Convert multi-image TIFF file to directory of images.

10 years ago | 1 download |

0.0 / 5

Submitted


struct2vars
Convert scalar structure into variables.

10 years ago | 5 downloads |

5.0 / 5

Submitted


vars2struct
Convert variables to scalar structure.

10 years ago | 9 downloads |

0.0 / 5

Solved


Knight's Tour Checker
Given a matrix a, determine whether or not a legal <http://en.wikipedia.org/wiki/Knight's_tour knight's tour> is present. The kn...

10 years ago

Solved


generate number in particular way
A = [1 5 2 7]; MAX = 10; generate a array Y = [1 2 2 2 2 2 3 3 4 4]; i.e. total eleme...

10 years ago

Solved


Sum two real numbers
It seems easy, but... You cannot use +, -, plus, diff, cumsum, *, prod, times, etc.

10 years ago

Answered
How to calculate the NN outputs manually?
If you use a squashing function on the output, then yes, it is impossible to get a result of 100 at an output. If you need to ha...

10 years ago | 0

| accepted

Answered
Make video from images
I usually use the <http://www.mathworks.com/help/matlab/ref/videowriter.html VideoWriter> class for making movies in MATLAB. ...

10 years ago | 5

Answered
Removing all zeros in rows
It is not possible to have a (full) array with varying number of rows. MATLAB wants to store something in those empty spots. ...

10 years ago | 0

| accepted

Answered
Possible bug in struct2table()
You may have already noticed this, but the error is due to having fields with an unequal number of rows. When you pass a scalar ...

10 years ago | 1

| accepted

Answered
How to make annotation circle.? Current code appear in a box.
The function call is RGB = insertObjectAnnotation(I,shape,position,label). Change shape from 'rectangle' to 'circle', and cha...

10 years ago | 0

| accepted

Answered
how would i track the speed of the centroid of the moving objects?
If it is acceptable to compute velocities post hoc, I suggest the following edits to this code: 1. Add tracks as an output so...

10 years ago | 5

| accepted

Answered
manipulating face detection code?
Try this: cnt = 0; for ii=1:10 filename = sprintf('%d.jpg',ii); I = imread(filename); BB = step(EyeDetect...

10 years ago | 1

| accepted

Load more