Answered
MATLAB Coder Does Not Support Input of Unbounded Size
I feel that the dimension bounds being specified are not getting reflected for code generation purposes somehow. The following l...

7 years ago | 0

| accepted

Answered
Modell Callbacks (e.g. PreLoadFcn, InitFcn) not performed in Matlab 2016b
The commands mentioned should definitely work in R2016b in all kinds of callbacks as and when those callbacks are executed. ...

7 years ago | 0

Answered
How does matlab's gaussian fit function select peak centers
Looking at the graphs, it seems that the kernel size being used is too large. In such a case, large amount of neighborhood data ...

7 years ago | 0

Answered
Gabor patches in matlab
The code shared here is not complete and does not include the implementation of the 'screen' function which is not a MATLAB inbu...

7 years ago | 0

Answered
How to detect a specific color in photo?
I would recommend the following link to do image segmentation in color space: <https://www.mathworks.com/help/images/examples...

7 years ago | 0

Answered
Frequency domain data to simulink
There are various way to load data into Simulink environment as mentioned in the following link: <https://www.mathworks.com/h...

7 years ago | 0

Answered
two continuous signals time delay
The sample time of the signal depends on the rate at which the signal was acquired. You should refer the source from where you g...

7 years ago | 0

Answered
Does \varepsilon still work for Matlab R2016a?
To include the lowercase epsilon you can make use of the unicode char representation. The following code should get you this par...

7 years ago | 0

Answered
How to export data to single excel sheet for number of data from image processing
The easiest way I can think of is to append the entries from multiple images into a single table in a loop and then write that t...

7 years ago | 0

| accepted

Answered
find function size mismatch in simulink
I would recommend looking at the ' <https://www.mathworks.com/help/matlab/ref/ismember.html ismember> ' and ' <https://www.mathw...

7 years ago | 0

Answered
xlswrite to multiple new sheets
Data size is only one of the reasons why you could get the error code: 0x800A03EC when using xlswrite. This MATLAB Answers p...

7 years ago | 0

Answered
Is there a solution for H2Hinf control problem in the discrete time domain?
The function ' <https://www.mathworks.com/help/robust/ref/h2hinfsyn.html h2hinfsyn> ' does not work for discrete plants as menti...

7 years ago | 0

Answered
Make parameters available inside Simulink's Matlab functions
I would recommend using Data Store Memory Block for the structure parameter and using it as a global variable within the various...

7 years ago | 0

Answered
Perform local filtering on 3D image
To perform localized Gaussian filtering either 2D or 3D in MATLAB, you would need to provide the filtering function with that sp...

7 years ago | 1

Answered
Unable to access ROSbag topics
This error is a result of the rosbag containing custom message types (e.g. 'dbw_mkz_msgs.SteeringReport') that are not supported...

7 years ago | 1

| accepted

Answered
Merge Different KML Files into a KMZ file.
I would recommend going through the File exchange submission on KML2KMZ conversion. It is provided at the following link: <ht...

7 years ago | 0

Answered
Is it possible to place custom header include statement at the top when using Simulink Coder?
One can make use of the Custom Code feature available in Model Configuration Parameters in order to add custom header/ source fi...

7 years ago | 0

Answered
How is the scaling of y channel in YCbCr is different than scaling all three colour channel?
In principal, all these color spaces are affine transformations of each other, that is YCbCr = A*(RGB) + b. Hence if you multipl...

7 years ago | 0

| accepted

Answered
State space simulink modularize
If I understand the question correctly, you want to modify the input (1x12 vector) into a (2x6 matrix) for the down stream eleme...

7 years ago | 0

Answered
Make code for svm region descriptors more efficient
There are various different approaches that you could make use of to improve the speed, for example resizing, preprocessing the...

7 years ago | 0

| accepted

Answered
Why does't MATLAB R2016b recognize a C Compiler?
There could be a possibility that while installing Visual Studio, "Typical" setup option was chosen, which does not install the ...

7 years ago | 0

| accepted

Answered
Command Window Update with Spreadsheet Link
I would recommend going through the Customization category functions available in the documentation of " <https://www.mathworks...

7 years ago | 0

Answered
Applying For Loop function to cell array
There are two ways to index into a cell array, using curly braces-{} and parentheses-(). Enclose indices in smooth parenthese...

7 years ago | 0

Answered
Load only part(block) of a large bmp-image in order to reduce memory requirements
The 'imread' function in MATLAB lets one read subimages for TIFF and JPEG2000 formats. So one way to go about this issue would b...

8 years ago | 1

Answered
Why does imshow() function in Matlab return a blank image?
Another common mistake that can yield to white or black images is a mismatch in datatypes while casting from one to another. ...

8 years ago | 1

Answered
How can I implement a 2D DFT?
It might also help to compare the result of code written with the inbuilt MATLAB 2D FFT function 'fft2'. Documentation for th...

8 years ago | 1

Answered
Passing a non-integer value to a Simulink Block/Mask
I understand that you want to know how to pass an IP address as an input to a masked subsystem. IP addresses can be stored or...

8 years ago | 0

Answered
Emulate gimp screen effect in rgb image
Provided that both matrices I and M are of the same size and assuming that element by element operation is being asked for, it c...

8 years ago | 1

Answered
Programmatically generating over/under exposed pictures
There are various ways in which local exposure distortions can be introduced to an image. One of the ways would be: # Cre...

8 years ago | 0

Answered
Application of ifft function
The error being received is expected as the lengths of variable 't' and 'Y' do not match. After the line: >> X = X(1:N/2...

8 years ago | 1

Load more