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

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

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

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

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.

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

| 採用済み

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

| 採用済み

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

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

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

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

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

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

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

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

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

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

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

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

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

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

| 採用済み

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.

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

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

| 採用済み