Gelöst


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

mehr als 14 Jahre vor

Gelöst


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

mehr als 14 Jahre vor

Gelöst


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

mehr als 14 Jahre vor

Gelöst


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

mehr als 14 Jahre vor

Gelöst


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

mehr als 14 Jahre vor

Gelöst


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

mehr als 14 Jahre vor

Gelöst


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

mehr als 14 Jahre vor

Frage


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

fast 15 Jahre vor | 0 Antworten | 0

0

Antworten

Gesendet


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

etwa 15 Jahre vor | 1 Download |

0.0 / 5

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

etwa 15 Jahre vor | 0

Gesendet


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

etwa 15 Jahre vor | 1 Download |

5.0 / 5

Gesendet


scatterquad2
calculates the volume under a surface defined by scattered points

etwa 15 Jahre vor | 3 Downloads |

5.0 / 5

Frage


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

etwa 15 Jahre vor | 1 Antwort | 0

1

Antwort

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

etwa 15 Jahre vor | 7

Gesendet


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

mehr als 15 Jahre vor | 1 Download |

4.5 / 5

Gesendet


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

fast 16 Jahre vor | 2 Downloads |

0.0 / 5

Gesendet


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

mehr als 16 Jahre vor | 1 Download |

0.0 / 5

Gesendet


jointable
Join pairs of tables using arbitrary keys

fast 17 Jahre vor | 2 Downloads |

0.0 / 5

Gesendet


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

fast 17 Jahre vor | 1 Download |

0.0 / 5

Gesendet


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

fast 17 Jahre vor | 1 Download |

0.0 / 5

Gesendet


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

fast 17 Jahre vor | 2 Downloads |

4.0 / 5

Gesendet


stack
manipulate stack objects as dynamic arrays

fast 17 Jahre vor | 1 Download |

0.0 / 5

Gesendet


cmsbounds
Determine bounds on a distribution given the first few moments

fast 17 Jahre vor | 1 Download |

0.0 / 5

Gesendet


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.

fast 17 Jahre vor | 1 Download |

5.0 / 5

Gesendet


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

fast 17 Jahre vor | 2 Downloads |

5.0 / 5

Gesendet


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

mehr als 17 Jahre vor | 1 Download |

5.0 / 5