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

8 months ago

Answered
I cannot get MATLAB to see my beaglebone black
Hi Kurt, I know this is a late reply but this might be useful for someone else. For MATLAB to detect your Beaglebone you've to ...

8 months ago | 0

Answered
Can I store information inside Beaglebone black hardware
In MATLAB Support Package there is a putFile() method which can be used to transfer files from your host to Beaglebone. or alter...

8 months ago | 0

Answered
Run simulink model on beaglebone black
The Embedded Coder Support Package for Beeaglebone Black is compatible with Debian 8.3 (not sure about the minor version but som...

8 months ago | 0

Answered
my question is i need to know if the BeagleBone blue is need a toolbox to run it in matlab simulink
Yes, it requires the Simulink Code Support Package for Beaglebone Blue.

8 months ago | 0

Answered
How to turn off autocomplete in a live script
Hi Frederick, Go to Home > Preferences (under Environment Section) > MATLAB > Keyboard > Under Live Editor and App Designer > S...

8 months ago | 1

| accepted

Answered
Wireless network coding for source and receiver
Hi Sandunika, Visit this link TCP/IP Socket Communications in MATLAB. There is a server and client implementation written in MA...

8 months ago | 0

| accepted

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

8 months ago

Solved


Replace NaNs with the number that appears to its left in the row.
Replace NaNs with the number that appears to its left in the row. If there are more than one consecutive NaNs, they should all ...

8 months ago

Solved


Balanced number
Given a positive integer find whether it is a balanced number. For a balanced number the sum of first half of digits is equal to...

8 months ago

Solved


De-dupe
Remove all the redundant elements in a vector, but keep the first occurrence of each value in its original location. So if a =...

8 months ago

Solved


Target sorting
Sort the given list of numbers |a| according to how far away each element is from the target value |t|. The result should return...

8 months ago

Solved


Find the two most distant points
Given a collection of points, return the indices of the rows that contain the two points most distant from one another. The inpu...

8 months ago

Solved


Pattern matching
Given a matrix, m-by-n, find all the rows that have the same "increase, decrease, or stay same" pattern going across the columns...

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

8 months ago

Solved


The Goldbach Conjecture
The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...

8 months ago

Solved


The Goldbach Conjecture, Part 2
The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...

8 months ago

Solved


Kaprekar Steps
6174 is the <http://en.wikipedia.org/wiki/6174_%28number%29 Kaprekar constant>. All natural numbers less than 10,000 (except som...

8 months ago

Solved


Interpolator
You have a two vectors, a and b. They are monotonic and the same length. Given a value, va, where va is between a(1) and a(end...

8 months ago

Answered
How to segment Gray image using autoamte thrsholding without manual threshold [based on image- image was dynamic ]?
Hi You can use Otsu's thresholding technique. It chooses a threshold that minimizes the intraclass variance of the thresholded ...

8 months ago | 0

Answered
converting lat,lon column vectors to corresponding grid vector (lon*lat)
lat_lon = lat*lon'; sz = size(lat_lon); lat_lon = reshape(lat_lon, [sz(1)*sz(2), 1]); size(lat_lon); %(35*33)x1 This gives...

8 months ago | 0

| accepted

Answered
Does MATLAB's disparity function (semiglobal) use the Birchfield-Tomasi pixel cost?
You are correct, it uses cv::stereosgbm which uses the Birchfield-Tomasi matching cost.

8 months ago | 0

Answered
Pixel's edge strength
Hi There is no such thing as a pixel's edge strength. You would just compare the pixel value with the threshold. If you are try...

8 months ago | 0

Answered
Image feature extraction calculation
Hi Image contrast: image_contrast = max(grayImage(:)) - min(grayImage(:)); Correlation Coefficient: It is calculated b/w two i...

8 months ago | 1

| accepted