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

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

5 maanden ago | 0

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

5 maanden ago | 0

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

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

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

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

5 maanden ago | 0

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

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

5 maanden ago

Solved


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

6 maanden ago | 0

Load more