Gelöst


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

mehr als 7 Jahre vor

Gelöst


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

mehr als 7 Jahre vor

Gelöst


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

mehr als 7 Jahre vor

Gelöst


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

mehr als 7 Jahre vor

Gelöst


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

mehr als 7 Jahre vor

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 7 Jahre vor

Gelöst


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

mehr als 7 Jahre vor

Gelöst


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

mehr als 7 Jahre vor

Gelöst


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

mehr als 7 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 7 Jahre vor

Gelöst


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

mehr als 7 Jahre vor

Gelöst


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

mehr als 7 Jahre vor

Gelöst


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

mehr als 7 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 7 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 7 Jahre vor

Gelöst


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

mehr als 7 Jahre vor

Gelöst


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

mehr als 7 Jahre vor

Gelöst


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

mehr als 7 Jahre vor

Gesendet


MATLAP
Electric powered RC cars simulation

fast 8 Jahre vor | 3 Downloads |

5.0 / 5
Thumbnail

Gesendet


DA GUI
Dijkstra's algorithm graphical user interface

fast 8 Jahre vor | 1 Download |

5.0 / 5
Thumbnail

Gesendet


BIN2MAT
Binary to MAT-file converter

fast 8 Jahre vor | 6 Downloads |

5.0 / 5
Thumbnail

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

mehr als 8 Jahre vor | 0

Gesendet


INI
INI file manager - initialization file reading and writing

mehr als 8 Jahre vor | 5 Downloads |

5.0 / 5
Thumbnail

Gesendet


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

etwa 9 Jahre vor | 1 Download |

5.0 / 5
Thumbnail

Gesendet


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

mehr als 9 Jahre vor | 1 Download |

0.0 / 5
Thumbnail

Gesendet


AVAR
Allan variance calculation GUI

mehr als 9 Jahre vor | 14 Downloads |

4.4 / 5
Thumbnail

Gesendet


Robotic mapping
Robotic mapping from video shots

mehr als 9 Jahre vor | 1 Download |

0.0 / 5
Thumbnail

Gesendet


PWN2PLY
Converter from PWN format to PLY format

mehr als 9 Jahre vor | 1 Download |

0.0 / 5
Thumbnail

Gesendet


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

fast 10 Jahre vor | 1 Download |

5.0 / 5
Thumbnail

Gesendet


Random walk estimator
Estimation of gaussian random walk

fast 10 Jahre vor | 1 Download |

0.0 / 5
Thumbnail

Mehr laden