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

etwa 5 Jahre vor | 0

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

etwa 5 Jahre vor | 0

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

etwa 5 Jahre vor | 0

| akzeptiert

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

etwa 5 Jahre vor | 0

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

etwa 5 Jahre vor | 0

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

etwa 5 Jahre vor | 0

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

etwa 5 Jahre vor | 1

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

etwa 5 Jahre vor

Gelöst


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

etwa 5 Jahre vor

Gelöst


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

etwa 5 Jahre vor

Gelöst


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

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

etwa 5 Jahre vor

Gelöst


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

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

etwa 5 Jahre vor

Gelöst


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

etwa 5 Jahre vor

Gelöst


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

etwa 5 Jahre vor

Gelöst


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.

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

etwa 5 Jahre vor

Gelöst


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

etwa 5 Jahre vor

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

etwa 5 Jahre vor

Gelöst


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

etwa 5 Jahre vor

Gelöst


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

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

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

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

etwa 5 Jahre vor

Gelöst


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

etwa 5 Jahre vor

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

etwa 5 Jahre vor | 0

| akzeptiert

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

etwa 5 Jahre vor | 0

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

etwa 5 Jahre vor | 1

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

etwa 5 Jahre vor | 0

Mehr laden