Risposto
How can I isolate two circular objects in an image that are touching?
Hello Daniel, You could look out for circular objects in an image by following this blog. Furthermore, when you get the coo...

quasi 7 anni fa | 0

Risposto
How to program EEPROM (not Arduino / Raspberry PI)
Hello Charlie, SIMULINK's embedded coder can generate code only for those devices which are listed under the supportPackageIn...

quasi 7 anni fa | 0

Risposto
working with large matrices
Hello Bram, You could look at implementing Tall Arrays. The documentation link can be found here.

quasi 7 anni fa | 0

| accettato

Risposto
Sending signal from matlab to TivaC launchpad with code composer studio.
Hello Sriram, You can call a custom MATLAB function from simulink. Thiscustom function can then be sent to the Serial port of ...

quasi 7 anni fa | 0

Risposto
IMU reference frame with respect to heading
Hello Silvia Have you tried changing the orientation of the IMU? try changing the IMU's oriantaion along the x,y axes while le...

quasi 7 anni fa | 0

Risposto
What are strategies for coding real time audio analysis?
Hello Matthew, Simulink has a Real-Time Audio System Toolbox. The documentation for the same can be found here. This would be...

quasi 7 anni fa | 0

Risposto
Save Signals in Simulink
Hello Zaucher To save information in simulink, you could write the information to a mat file. The 'To File' block in simulink ...

quasi 7 anni fa | 1

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

quasi 7 anni fa

Risolto


Nearest Numbers
Given a row vector of numbers, find the indices of the two nearest numbers. Examples: [index1 index2] = nearestNumbers([2 5 3...

quasi 7 anni fa

Risolto


Pangrams!
A pangram, or holoalphabetic sentence, is a sentence using every letter of the alphabet at least once. Example: Input s ...

quasi 7 anni fa

Risolto


Function Iterator
Given a handle fh to a function which takes a scalar input and returns a scalar output and an integer n >= 1, return a handle f...

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

quasi 7 anni fa

Risolto


Remove all the words that end with "ain"
Given the string s1, return the string s2 with the target characters removed. For example, given s1 = 'the main event' your ...

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

quasi 7 anni fa

Risolto


Most nonzero elements in row
Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...

quasi 7 anni fa

Risolto


Who Has the Most Change?
You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...

quasi 7 anni fa

Risolto


Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

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

quasi 7 anni fa

Risolto


Find the numeric mean of the prime numbers in a matrix.
There will always be at least one prime in the matrix. Example: Input in = [ 8 3 5 9 ] Output out is 4...

quasi 7 anni fa

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

quasi 7 anni fa

Risolto


Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...

quasi 7 anni fa

Risolto


Remove any row in which a NaN appears
Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...

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

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

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

quasi 7 anni fa

Risolto


Elapsed Time
Given two date strings d1 and d2 of the form yyyy/mm/dd HH:MM:SS (assume hours HH is in 24 hour mode), determine how much time, ...

quasi 7 anni fa

Risposto
Control brightness of LED with PWM using TI C2000
Hello Michali, The PWM block in simulink can be used for this purpose. The input for this block can be any number from 0-255, ...

quasi 7 anni fa | 0

| accettato

Risposto
Fresnel transform of an image
https://www.mathworks.com/matlabcentral/answers/446362-fresnel-transform-of-an-image This package created by fresnel labs c...

quasi 7 anni fa | 0

Risposto
vlc command to play a silent video mutes matlab
Hello Varvara, The operating system is designed such that only one audio source is allocated all the child processes of a p...

quasi 7 anni fa | 1

Risposto
Saving plot with variables larger than 2 GB
Hello Yaser, The mat file has to be loaded onto the workspace to perform operations on it. This can be done by using the ...

quasi 7 anni fa | 0

Carica altro