Enviada


circles
Draw multiple circles fast.

casi 10 años hace | 2 descargas |

5.0 / 5
Thumbnail

Enviada


rectangles
Draw multiple rectangles fast.

casi 10 años hace | 1 descarga |

0.0 / 5
Thumbnail

Resuelto


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

alrededor de 10 años hace

Resuelto


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

alrededor de 10 años hace

Resuelto


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

alrededor de 10 años hace

Resuelto


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

alrededor de 10 años hace

Resuelto


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

alrededor de 10 años hace

Resuelto


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

alrededor de 10 años hace

Resuelto


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

alrededor de 10 años hace

Resuelto


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

alrededor de 10 años hace

Resuelto


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

alrededor de 10 años hace

Resuelto


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

alrededor de 10 años hace

Resuelto


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

alrededor de 10 años hace

Resuelto


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

alrededor de 10 años hace

Resuelto


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

alrededor de 10 años hace

Resuelto


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

alrededor de 10 años hace

Resuelto


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

alrededor de 10 años hace

Enviada


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

alrededor de 10 años hace | 1 descarga |

0.0 / 5

Enviada


struct2vars
Convert scalar structure into variables.

alrededor de 10 años hace | 5 descargas |

5.0 / 5

Enviada


vars2struct
Convert variables to scalar structure.

alrededor de 10 años hace | 1 descarga |

0.0 / 5

Resuelto


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

alrededor de 10 años hace

Resuelto


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

alrededor de 10 años hace

Resuelto


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

alrededor de 10 años hace

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

alrededor de 10 años hace | 0

| aceptada

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

alrededor de 10 años hace | 5

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

más de 10 años hace | 0

| aceptada

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

más de 10 años hace | 1

| aceptada

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

más de 10 años hace | 0

| aceptada

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

más de 10 años hace | 5

| aceptada

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

más de 10 años hace | 1

| aceptada

Cargar más