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

ongeveer 5 jaar ago | 0

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

ongeveer 5 jaar ago | 0

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

ongeveer 5 jaar ago | 0

| accepted

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

ongeveer 5 jaar ago | 0

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

ongeveer 5 jaar ago | 0

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

ongeveer 5 jaar ago | 0

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

ongeveer 5 jaar ago | 1

Solved


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

ongeveer 5 jaar ago

Solved


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

ongeveer 5 jaar ago

Solved


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

ongeveer 5 jaar ago

Solved


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

ongeveer 5 jaar ago

Solved


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

ongeveer 5 jaar ago

Solved


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

ongeveer 5 jaar ago

Solved


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

ongeveer 5 jaar ago

Solved


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

ongeveer 5 jaar ago

Solved


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

ongeveer 5 jaar ago

Solved


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.

ongeveer 5 jaar ago

Solved


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

ongeveer 5 jaar ago

Solved


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

ongeveer 5 jaar ago

Solved


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

ongeveer 5 jaar ago

Solved


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

ongeveer 5 jaar ago

Solved


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

ongeveer 5 jaar ago

Solved


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

ongeveer 5 jaar ago

Solved


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

ongeveer 5 jaar ago

Solved


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

ongeveer 5 jaar ago

Solved


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

ongeveer 5 jaar ago

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

ongeveer 5 jaar ago | 0

| accepted

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

ongeveer 5 jaar ago | 0

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

ongeveer 5 jaar ago | 1

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

ongeveer 5 jaar ago | 0

Load more