Resuelto


Return the 3n+1 sequence for n
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

más de 14 años hace

Resuelto


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

más de 14 años hace

Resuelto


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

más de 14 años hace

Resuelto


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

más de 14 años hace

Resuelto


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

más de 14 años hace

Resuelto


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

más de 14 años hace

Resuelto


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

más de 14 años hace

Pregunta


Is the new Cramer's rule algorithm really as good as LU?
The Wikipedia article on Cramer's rule cites a recent paper that claims to have an O(n^3) algorithm: Ken Habgood and Itamar Are...

casi 15 años hace | 0 respuestas | 0

0

respuestas

Enviada


wordhit
determines probabilities and expected times to produce words in a random character stream

alrededor de 15 años hace | 1 descarga |

0.0 / 5

Respondida
Block diagonalize a matrix
It turns out to be easier than I thought. Given V such that A*V=V*E we find any W such that [W,V] is invertible and if A*W = W*...

alrededor de 15 años hace | 0

Enviada


quantilese
determines quantiles of data and their standard errors or confidence intervals

alrededor de 15 años hace | 1 descarga |

5.0 / 5

Enviada


scatterquad2
calculates the volume under a surface defined by scattered points

alrededor de 15 años hace | 3 descargas |

5.0 / 5

Pregunta


Block diagonalize a matrix
Given a square matrix A and a rectangular matrix V, how do we find a complement U such that [U,V]\A*[U,V] is block diagonal? Fo...

alrededor de 15 años hace | 1 respuesta | 0

1

respuesta

Respondida
What is missing from MATLAB?
1. Distinguishing variable from function names in M-Lint. To get around the current limitation, "declare" which names are varia...

alrededor de 15 años hace | 7

Enviada


groebner
manipulate and solve systems of multivariate polynomial equations by computing the groebner basis

más de 15 años hace | 1 descarga |

4.5 / 5

Enviada


election
Implements many different methods for determining the winner of an election given voter preferences.

casi 16 años hace | 2 descargas |

0.0 / 5

Enviada


Compound Poisson simulation
benchmarks several versions of code for generating Compound Poisson random variables

más de 16 años hace | 1 descarga |

0.0 / 5

Enviada


jointable
Join pairs of tables using arbitrary keys

casi 17 años hace | 2 descargas |

0.0 / 5

Enviada


multisetdiff
like setdiff, but any repeated elements of A are removed only once for each time they occur in B

casi 17 años hace | 1 descarga |

0.0 / 5

Enviada


lexcmp
Fast C-style array/string comparison (by lexical ordering)

casi 17 años hace | 1 descarga |

0.0 / 5

Enviada


Pointers Toolbox
basic functions to work with pointer variables and dynamic data types

casi 17 años hace | 2 descargas |

4.0 / 5

Enviada


stack
manipulate stack objects as dynamic arrays

casi 17 años hace | 1 descarga |

0.0 / 5

Enviada


cmsbounds
Determine bounds on a distribution given the first few moments

casi 17 años hace | 1 descarga |

0.0 / 5

Enviada


sumsqint
Finds all distinct ways of writing a number as the sum of squares, i.e. solve x^2+y^2=n for 0<=x<=y.

casi 17 años hace | 1 descarga |

5.0 / 5

Enviada


NextVector toolbox
files for iterating over permutations, combinations, subsets and vectorized for/while loops

casi 17 años hace | 2 descargas |

5.0 / 5

Enviada


panjer
Approximate the distribution of a compound random variable by Panjer recursion.

más de 17 años hace | 1 descarga |

5.0 / 5