답변 있음
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년 전 | 0

답변 있음
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년 전 | 0

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

대략 5년 전 | 0

| 수락됨

답변 있음
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년 전 | 0

답변 있음
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년 전 | 0

답변 있음
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년 전 | 0

답변 있음
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년 전 | 1

문제를 풀었습니다


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년 전

문제를 풀었습니다


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

대략 5년 전

문제를 풀었습니다


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

대략 5년 전

문제를 풀었습니다


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년 전

문제를 풀었습니다


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년 전

문제를 풀었습니다


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년 전

문제를 풀었습니다


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년 초과 전

문제를 풀었습니다


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년 초과 전

문제를 풀었습니다


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년 초과 전

문제를 풀었습니다


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년 초과 전

문제를 풀었습니다


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년 초과 전

문제를 풀었습니다


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년 초과 전

문제를 풀었습니다


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년 초과 전

문제를 풀었습니다


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년 초과 전

문제를 풀었습니다


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년 초과 전

문제를 풀었습니다


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년 초과 전

문제를 풀었습니다


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년 초과 전

문제를 풀었습니다


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년 초과 전

문제를 풀었습니다


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년 초과 전

답변 있음
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, ...

5년 초과 전 | 0

| 수락됨

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

5년 초과 전 | 0

답변 있음
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...

5년 초과 전 | 1

답변 있음
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 ...

5년 초과 전 | 0

더 보기