I am an Application Engineer at MathWorks. My areas of interest include image processing and computer vision.

DISCLAIMER: Any advice or opinions here are my own and in no way reflect that of MathWorks.

Answered

Rotate stacked plot Labels to have them vertical - App Designer

For normal plots ‘ytickangle’ can be used in order to rotate the y-axis label. But in case of stacked plots y-axis labels are ...

Rotate stacked plot Labels to have them vertical - App Designer

For normal plots ‘ytickangle’ can be used in order to rotate the y-axis label. But in case of stacked plots y-axis labels are ...

ein Tag ago | 0

| accepted

Answered

How can I use 'To Workspace' and 'To File' blocks in Model Reference block with configuration parameter 'Total number of instances allowed per top model' set to 'Multi'?

You cannot reference a model more than once in a model hierarchy if the referenced model contains ‘To File’ blocks. You can ha...

How can I use 'To Workspace' and 'To File' blocks in Model Reference block with configuration parameter 'Total number of instances allowed per top model' set to 'Multi'?

You cannot reference a model more than once in a model hierarchy if the referenced model contains ‘To File’ blocks. You can ha...

2 Tage ago | 0

Answered

Returning from functions in debugging mode

You cannot force return from a function using MATLAB. But if your script files have an error you can use ‘try-catch’ blocks wher...

Returning from functions in debugging mode

You cannot force return from a function using MATLAB. But if your script files have an error you can use ‘try-catch’ blocks wher...

4 Tage ago | 0

| accepted

Answered

Palette Pane Missing from Simulink Real-Time

When the ‘floating’ option is selected the panel will be displayed as a separate window. You might not have noticed the window. ...

Palette Pane Missing from Simulink Real-Time

When the ‘floating’ option is selected the panel will be displayed as a separate window. You might not have noticed the window. ...

4 Tage ago | 0

Answered

How can I set the "Prompt location" property of a Simulink.MaskParameter programmatically.

Mask parameter “Prompt Location” can be set programatically using the command ‘p.DialogControl.PromptLocation’ Where p is a ma...

How can I set the "Prompt location" property of a Simulink.MaskParameter programmatically.

Mask parameter “Prompt Location” can be set programatically using the command ‘p.DialogControl.PromptLocation’ Where p is a ma...

5 Tage ago | 0

Answered

How to use Alternative Box Plot

In order to use boxPlot(x,y) the number of elements in ‘x’ should be equal to the number of columns in ‘y’. In your code y is ...

How to use Alternative Box Plot

In order to use boxPlot(x,y) the number of elements in ‘x’ should be equal to the number of columns in ‘y’. In your code y is ...

6 Tage ago | 0

| accepted

Answered

how to debug s functions in Matlab

Debugging on S-functions can be done either in Simulink or using a third party software. The documentation on how to debug an ...

how to debug s functions in Matlab

Debugging on S-functions can be done either in Simulink or using a third party software. The documentation on how to debug an ...

6 Tage ago | 0

Answered

Create daq session for two vendors at the same time

Instead of creating a session for two vendors at a time, you can create a session for one device and then add a channel to that ...

Create daq session for two vendors at the same time

Instead of creating a session for two vendors at a time, you can create a session for one device and then add a channel to that ...

9 Tage ago | 0

Answered

How to trigger alarm once even if all 5 functions detect defects?

Try using a Boolean variable which acts as a flag and set it to 1 only when a defect is detected. After performing all five chec...

How to trigger alarm once even if all 5 functions detect defects?

Try using a Boolean variable which acts as a flag and set it to 1 only when a defect is detected. After performing all five chec...

9 Tage ago | 0

Answered

modify the audio gain of a specific frequency

firls function of Signal Processing Toolbox can be used to create filters in matlab. The documentation for firls function can ...

modify the audio gain of a specific frequency

firls function of Signal Processing Toolbox can be used to create filters in matlab. The documentation for firls function can ...

10 Tage ago | 0

| accepted

Answered

How can I perform FEA in Matlab on a composite material?

‘structuralProperties’ can be used to assign properties to a structural model. In order to create a geometry with parts that h...

How can I perform FEA in Matlab on a composite material?

‘structuralProperties’ can be used to assign properties to a structural model. In order to create a geometry with parts that h...

11 Tage ago | 0

Answered

Error running Matlab code in java intellij

In order to open a file in ‘intellij’, the folder in which the file is present should be loaded in the project on which you are ...

Error running Matlab code in java intellij

In order to open a file in ‘intellij’, the folder in which the file is present should be loaded in the project on which you are ...

11 Tage ago | 0

Answered

Appdesigner: How can I modify Column Header Properties ?

Currently this feature is not available in MATLAB. We have brought this isuue to the view of concerned persons and this might be...

Appdesigner: How can I modify Column Header Properties ?

Currently this feature is not available in MATLAB. We have brought this isuue to the view of concerned persons and this might be...

12 Tage ago | 0

| accepted

Answered

Processing of a 2D FFT image (matrix) - calculate periodcity from image

If you know the range where the ring may lie you can use “imfindcircles” function from image processing toolbox to know the cent...

Processing of a 2D FFT image (matrix) - calculate periodcity from image

If you know the range where the ring may lie you can use “imfindcircles” function from image processing toolbox to know the cent...

12 Tage ago | 0

Answered

Implement Regression models in real systems

‘Machine learning and statistics’ toolbox provides tools to generate code for enterprise and embedded deployment. For more inf...

Implement Regression models in real systems

‘Machine learning and statistics’ toolbox provides tools to generate code for enterprise and embedded deployment. For more inf...

12 Tage ago | 0

| accepted

Answered

What is the normalization parameter for when using cross-entropy as a performance function of a patternnet?

‘performParam.normalization’ parameter is designed to be used with any neural network. Setting its value to ‘standard’ results i...

What is the normalization parameter for when using cross-entropy as a performance function of a patternnet?

‘performParam.normalization’ parameter is designed to be used with any neural network. Setting its value to ‘standard’ results i...

12 Tage ago | 0

Answered

Code Generation for Deep Learning Networks with ARM Compute Library_Help

Your code seems fine and should work properly if you have the ‘MATLAB Support Package for Raspberry Pi Hardware’. Use the code...

Code Generation for Deep Learning Networks with ARM Compute Library_Help

Your code seems fine and should work properly if you have the ‘MATLAB Support Package for Raspberry Pi Hardware’. Use the code...

13 Tage ago | 0

| accepted

Answered

HPC cluster with exceed on demand visualization tool

If your matlab code is in the file ‘myScript.m’, you might use a job submissions script like: #!/bin/bash #SBATCH -t 2:00...

HPC cluster with exceed on demand visualization tool

If your matlab code is in the file ‘myScript.m’, you might use a job submissions script like: #!/bin/bash #SBATCH -t 2:00...

13 Tage ago | 0

Answered

How to Stop Autosaving

You can unset the "Automatic file changes" option for saving whenever you click away from the file in the Editor/Debugger sectio...

How to Stop Autosaving

You can unset the "Automatic file changes" option for saving whenever you click away from the file in the Editor/Debugger sectio...

24 Tage ago | 0

Answered

neuralnet function not working with more than one input

neuralnet cannot be used to obtain NARX model in your case as you have multiple number of inputs. narxnet can be used to obtai...

neuralnet function not working with more than one input

neuralnet cannot be used to obtain NARX model in your case as you have multiple number of inputs. narxnet can be used to obtai...

24 Tage ago | 0

| accepted

Answered

inverse of a subset of a matrix

As 28 is not a multiple of 3 I am assuming that you are looking to invert 9 3x3 sub matrices I.e., till row 27 The following c...

inverse of a subset of a matrix

As 28 is not a multiple of 3 I am assuming that you are looking to invert 9 3x3 sub matrices I.e., till row 27 The following c...

24 Tage ago | 0

| accepted

Answered

labelling multiple images at once by rgb

rgb2ind(RGB,Q) can be used to index an RGB image with Q colors. The documentation for rgb2ind can be found here You can r...

labelling multiple images at once by rgb

rgb2ind(RGB,Q) can be used to index an RGB image with Q colors. The documentation for rgb2ind can be found here You can r...

30 Tage ago | 0

Answered

mean squared logarithmic error loss function

It is already answered here

mean squared logarithmic error loss function

It is already answered here

etwa ein Monat ago | 0

| accepted

Answered

Define early stopping criterion for number of training epochs

Hi Eleanor, Training a neural network can be terminated by setting the values of the following parameters: min_grad Minim...

Define early stopping criterion for number of training epochs

Hi Eleanor, Training a neural network can be terminated by setting the values of the following parameters: min_grad Minim...

etwa ein Monat ago | 0

Solved

Nearest Numbers

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

5 Monate ago

Solved

Find relatively common elements in matrix rows

You want to find all elements that exist in greater than 50% of the rows in the matrix. For example, given A = 1 2 3 5 ...

5 Monate ago

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

5 Monate ago

Solved

Make a checkerboard matrix

Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...

5 Monate ago

Solved

Making change

Given an amount of currency, return a vector of this form: [100 50 20 10 5 2 1 0.5 0.25 0.1 0.05 0.01] Example: Input a = ...

5 Monate ago

Solved

Find the alphabetic word product

If the input string s is a word like 'hello', then the output word product p is a number based on the correspondence a=1, b=2, ....

5 Monate ago