Resuelto


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

más de 7 años hace

Resuelto


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

más de 7 años hace

Resuelto


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

más de 7 años hace

Resuelto


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

más de 7 años hace

Resuelto


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

más de 7 años hace

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 7 años hace

Resuelto


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

más de 7 años hace

Resuelto


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

más de 7 años hace

Resuelto


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

más de 7 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 7 años hace

Resuelto


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

más de 7 años hace

Resuelto


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

más de 7 años hace

Resuelto


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

más de 7 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 7 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 7 años hace

Resuelto


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

más de 7 años hace

Resuelto


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

más de 7 años hace

Resuelto


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

más de 7 años hace

Enviada


MATLAP
Electric powered RC cars simulation

casi 8 años hace | 1 descarga |

5.0 / 5
Thumbnail

Enviada


DA GUI
Dijkstra's algorithm graphical user interface

casi 8 años hace | 1 descarga |

5.0 / 5
Thumbnail

Enviada


BIN2MAT
Binary to MAT-file converter

casi 8 años hace | 7 descargas |

5.0 / 5
Thumbnail

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

más de 8 años hace | 0

Enviada


INI
INI file manager - initialization file reading and writing

más de 8 años hace | 2 descargas |

5.0 / 5
Thumbnail

Enviada


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

alrededor de 9 años hace | 1 descarga |

5.0 / 5
Thumbnail

Enviada


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

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

0.0 / 5
Thumbnail

Enviada


AVAR
Allan variance calculation GUI

más de 9 años hace | 10 descargas |

4.4 / 5
Thumbnail

Enviada


Robotic mapping
Robotic mapping from video shots

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

0.0 / 5
Thumbnail

Enviada


PWN2PLY
Converter from PWN format to PLY format

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

0.0 / 5
Thumbnail

Enviada


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

casi 10 años hace | 1 descarga |

5.0 / 5
Thumbnail

Enviada


Random walk estimator
Estimation of gaussian random walk

casi 10 años hace | 1 descarga |

0.0 / 5
Thumbnail

Cargar más