Risolto


Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...

oltre 7 anni fa

Risolto


Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<http://upload....

oltre 7 anni fa

Risolto


Cell joiner
You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...

oltre 7 anni fa

Risolto


Summing digits
Given n, find the sum of the digits that make up 2^n. Example: Input n = 7 Output b = 11 since 2^7 = 128, and 1 + ...

oltre 7 anni fa

Risolto


The Goldbach Conjecture
The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...

oltre 7 anni fa

Risolto


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

oltre 7 anni fa

Risolto


Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

oltre 7 anni fa

Risolto


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

oltre 7 anni fa

Risolto


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

oltre 7 anni fa

Risolto


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

oltre 7 anni fa

Risolto


Sort a list of complex numbers based on far they are from the origin.
Given a list of complex numbers z, return a list zSorted such that the numbers that are farthest from the origin (0+0i) appear f...

oltre 7 anni fa

Risolto


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...

oltre 7 anni fa

Risolto


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

oltre 7 anni fa

Risolto


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

oltre 7 anni fa

Risolto


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

oltre 7 anni fa

Risolto


Distance walked 1D
Suppose you go from position 7 to 10 to 6 to 4. Then you have walked 9 units of distance, since 7 to 10 is 3 units, 10 to 6 is 4...

oltre 7 anni fa

Risolto


Find the longest sequence of 1's in a binary sequence.
Given a string such as s = '011110010000000100010111' find the length of the longest string of consecutive 1's. In this examp...

oltre 7 anni fa

Risolto


Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...

oltre 7 anni fa

Inviato


MATLAP
Electric powered RC cars simulation

quasi 8 anni fa | 1 download |

5.0 / 5
Thumbnail

Inviato


DA GUI
Dijkstra's algorithm graphical user interface

quasi 8 anni fa | 1 download |

5.0 / 5
Thumbnail

Inviato


BIN2MAT
Binary to MAT-file converter

quasi 8 anni fa | 7 download |

5.0 / 5
Thumbnail

Risposto
How to convert sinewave(any signal) into 8bit binary in Simulink?
Hello, Sorry for the delayed response. What about an "Embedded MATLAB function" block calling this kind of code (1 input, 8...

oltre 8 anni fa | 0

Inviato


INI
INI file manager - initialization file reading and writing

oltre 8 anni fa | 1 download |

5.0 / 5
Thumbnail

Inviato


Cumulative distribution function - Gausso-arithmetic scale
Empirical cumulative distribution function in gausso-arithmetic scale

circa 9 anni fa | 1 download |

5.0 / 5
Thumbnail

Inviato


Delta (GUI)
Uncertainty symbolic and numeric calculator (GUI version)

oltre 9 anni fa | 1 download |

0.0 / 5
Thumbnail

Inviato


AVAR
Allan variance calculation GUI

oltre 9 anni fa | 14 download |

4.4 / 5
Thumbnail

Inviato


Robotic mapping
Robotic mapping from video shots

oltre 9 anni fa | 1 download |

0.0 / 5
Thumbnail

Inviato


PWN2PLY
Converter from PWN format to PLY format

oltre 9 anni fa | 1 download |

0.0 / 5
Thumbnail

Inviato


Hierarchical clustering
Hierarchical clustering and dendrogram (WPGMA and UPGMA methods)

quasi 10 anni fa | 1 download |

5.0 / 5
Thumbnail

Inviato


Random walk estimator
Estimation of gaussian random walk

quasi 10 anni fa | 1 download |

0.0 / 5
Thumbnail

Carica altro