A résolu


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

plus de 14 ans il y a

A résolu


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

plus de 14 ans il y a

A résolu


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

plus de 14 ans il y a

A résolu


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

plus de 14 ans il y a

A résolu


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

plus de 14 ans il y a

A résolu


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

plus de 14 ans il y a

A résolu


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

plus de 14 ans il y a

Question


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

presque 15 ans il y a | 1 réponse | 0

0

réponse

A soumis


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

environ 15 ans il y a | 1 téléchargement |

0.0 / 5

Réponse apportée
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*...

environ 15 ans il y a | 0

A soumis


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

environ 15 ans il y a | 1 téléchargement |

5.0 / 5

A soumis


scatterquad2
calculates the volume under a surface defined by scattered points

environ 15 ans il y a | 3 téléchargements |

5.0 / 5

Question


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

environ 15 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
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...

environ 15 ans il y a | 7

A soumis


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

presque 16 ans il y a | 1 téléchargement |

4.5 / 5

A soumis


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

presque 16 ans il y a | 2 téléchargements |

0.0 / 5

A soumis


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

plus de 16 ans il y a | 1 téléchargement |

0.0 / 5

A soumis


jointable
Join pairs of tables using arbitrary keys

presque 17 ans il y a | 2 téléchargements |

0.0 / 5

A soumis


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

presque 17 ans il y a | 1 téléchargement |

0.0 / 5

A soumis


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

presque 17 ans il y a | 1 téléchargement |

0.0 / 5

A soumis


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

presque 17 ans il y a | 2 téléchargements |

4.0 / 5

A soumis


stack
manipulate stack objects as dynamic arrays

presque 17 ans il y a | 1 téléchargement |

0.0 / 5

A soumis


cmsbounds
Determine bounds on a distribution given the first few moments

presque 17 ans il y a | 1 téléchargement |

0.0 / 5

A soumis


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.

presque 17 ans il y a | 1 téléchargement |

5.0 / 5

A soumis


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

presque 17 ans il y a | 2 téléchargements |

5.0 / 5

A soumis


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

plus de 17 ans il y a | 1 téléchargement |

5.0 / 5