I am an Application Support Engineer at Mathworks.

Disclaimer: Any articles/ideas/opinions here are my own and in no way reflect that of Mathworks

Answered

Measure line length in pixels atomatically

Based on your question, I suggest you use the function imdistline to get the distance between two points on an image in pixels. ...

Measure line length in pixels atomatically

Based on your question, I suggest you use the function imdistline to get the distance between two points on an image in pixels. ...

24 days ago | 0

Answered

Moving viewing window over an image

According to my understanding, you could use a for loop with a pause function to satisfy your requirements. It is a very crude, ...

Moving viewing window over an image

According to my understanding, you could use a for loop with a pause function to satisfy your requirements. It is a very crude, ...

25 days ago | 0

Answered

Embed cropped image within original image using 'drawpoint'

From the code that you have shared, I see the issue with the use of variables "x_inset" and "y_inset". When using these indices ...

Embed cropped image within original image using 'drawpoint'

From the code that you have shared, I see the issue with the use of variables "x_inset" and "y_inset". When using these indices ...

25 days ago | 0

| accepted

Answered

ROI - limiting the length of a crosshair

I see that you are trying to shorten the size/length of the displayed crosshair. I do not see any property of the crosshair func...

ROI - limiting the length of a crosshair

I see that you are trying to shorten the size/length of the displayed crosshair. I do not see any property of the crosshair func...

26 days ago | 1

| accepted

Answered

Epoch data between events or only select data between events

These are 3rd party toolboxes for which MathWorks does not provide support. I suggest you contact them and ask for support.

Epoch data between events or only select data between events

These are 3rd party toolboxes for which MathWorks does not provide support. I suggest you contact them and ask for support.

26 days ago | 0

| accepted

Answered

Defining an EPSP window

You could search for the start and end indices in the time vector and use that to plot the data within that interval. You coul...

Defining an EPSP window

You could search for the start and end indices in the time vector and use that to plot the data within that interval. You coul...

29 days ago | 0

| accepted

Answered

Which data format for dlarray/input layer should I use for my dataset?

Based on the information you have shared, I understand that you are trying to predict binary sequences using a VAE trained on a ...

Which data format for dlarray/input layer should I use for my dataset?

Based on the information you have shared, I understand that you are trying to predict binary sequences using a VAE trained on a ...

1 month ago | 1

Answered

Defect detection algorithm - Sandblasting

I recommend you use different morphological operations to process this information from images. I also suggest you go through th...

Defect detection algorithm - Sandblasting

I recommend you use different morphological operations to process this information from images. I also suggest you go through th...

1 month ago | 1

Answered

Identifying the features in a microscopic image

I suggest you use the help of different Morphological Operations to do this kind of image analysis. Do go through the examples...

Identifying the features in a microscopic image

I suggest you use the help of different Morphological Operations to do this kind of image analysis. Do go through the examples...

1 month ago | 2

Answered

How to connect android accelometer to the matlab deskop

The feature to connect MATLAB Mobile to a computer/desktop has been deprecated since MATLAB 9.7 (R2019b). Alternatively there ...

How to connect android accelometer to the matlab deskop

The feature to connect MATLAB Mobile to a computer/desktop has been deprecated since MATLAB 9.7 (R2019b). Alternatively there ...

1 month ago | 0

Answered

Matlab Script does not open even though I installed matlab correctly in R2020a-Linux Mint 20.1

Please try the troubleshooting steps provided in the link here, and let us know if it helped or not. For your case, you should ...

Matlab Script does not open even though I installed matlab correctly in R2020a-Linux Mint 20.1

Please try the troubleshooting steps provided in the link here, and let us know if it helped or not. For your case, you should ...

1 month ago | 0

Answered

Difference between using "count" and "bag-of-words" in LSA?

The two approaches to use fitLSA function will provide the same results if the inherent data being used is the same. Note that b...

Difference between using "count" and "bag-of-words" in LSA?

The two approaches to use fitLSA function will provide the same results if the inherent data being used is the same. Note that b...

1 month ago | 0

Answered

How can I enter this equation in Matlab?

I suggest you go through Symbolic Math Toolbox to create symbolic functions in MATLAB. I also suggest you use symsum function to...

How can I enter this equation in Matlab?

I suggest you go through Symbolic Math Toolbox to create symbolic functions in MATLAB. I also suggest you use symsum function to...

3 months ago | 0

Answered

Does Imshowborder tight option in iptsetpref make margin depend on the image ratio?

When setting the 'ImshowBorder' option to 'tight', there can be cases that the border is still present. This happens if the imag...

Does Imshowborder tight option in iptsetpref make margin depend on the image ratio?

When setting the 'ImshowBorder' option to 'tight', there can be cases that the border is still present. This happens if the imag...

3 months ago | 0

Answered

How to build a for-loop for 3rd dimensional noise realizations

Based on the information you have shared, I assume that you have 1000 samples of signals which are of length 320, and have 10 di...

How to build a for-loop for 3rd dimensional noise realizations

Based on the information you have shared, I assume that you have 1000 samples of signals which are of length 320, and have 10 di...

3 months ago | 0

| accepted

Answered

Simplify doesn't simplify the way I want it to

By default, 'simplify' only performs one simplification step, and that is why some expressions, like the one in the question, ar...

Simplify doesn't simplify the way I want it to

By default, 'simplify' only performs one simplification step, and that is why some expressions, like the one in the question, ar...

3 months ago | 0

| accepted

Answered

Problem with summation of a function

The summation is working correctly. The 'w - w_eg - k.*w_0' is a symbolic expression since it contains a symbolic variable. The ...

Problem with summation of a function

The summation is working correctly. The 'w - w_eg - k.*w_0' is a symbolic expression since it contains a symbolic variable. The ...

3 months ago | 0

Answered

Frequency extraction for pixel , for different number of frames (Hyperspectral data) in spectroscopy

For plotting the FFT of the signal with a correct frequency axis, you need to incorporate the sampling rate into the frequency d...

Frequency extraction for pixel , for different number of frames (Hyperspectral data) in spectroscopy

For plotting the FFT of the signal with a correct frequency axis, you need to incorporate the sampling rate into the frequency d...

3 months ago | 0

Answered

Cannot call or index into a temporary array error message

MATLAB does not support syntax which directly index the function call return value, like "p2r([x y])(:,1)". It is recommended th...

Cannot call or index into a temporary array error message

MATLAB does not support syntax which directly index the function call return value, like "p2r([x y])(:,1)". It is recommended th...

3 months ago | 1

Answered

RCS Calculation Cylinder From Formula

A better approach to solve a series formula is to use the symsum function. I suggest you create an anonymous function in terms o...

RCS Calculation Cylinder From Formula

A better approach to solve a series formula is to use the symsum function. I suggest you create an anonymous function in terms o...

3 months ago | 0

Answered

Unrecognized function or variable 'seccionAurea'.

On your teachers machine, use "which" function to locate where the function "seccionAurea" is defined. which seccionAurea Make...

Unrecognized function or variable 'seccionAurea'.

On your teachers machine, use "which" function to locate where the function "seccionAurea" is defined. which seccionAurea Make...

4 months ago | 0

Answered

How do I do a t-test between 2 groups of 3D matrices outputting a single matrix of p values?

I suggest you try using the ttest function on Matlab. Refer the MathWorks documentation on how to use it.

How do I do a t-test between 2 groups of 3D matrices outputting a single matrix of p values?

I suggest you try using the ttest function on Matlab. Refer the MathWorks documentation on how to use it.

4 months ago | 0

| accepted

Answered

French keyboard with Simulink Online

Glad to know you found a workaround to your problem. Just to let you know, Simulink Online currently has a limitation for not ...

French keyboard with Simulink Online

Glad to know you found a workaround to your problem. Just to let you know, Simulink Online currently has a limitation for not ...

4 months ago | 0

Answered

How to find projective transformation with 4 points?

Since the image is rotated 90 degrees clockwise, the scaled "height" and "width" should be interchanged while specifying the fix...

How to find projective transformation with 4 points?

Since the image is rotated 90 degrees clockwise, the scaled "height" and "width" should be interchanged while specifying the fix...

4 months ago | 0

Answered

How to plot a surf-plot with out data extrapolation?

If I understand correcty, you want to set limits to the axes containing your figure. I suggest you use axis function to do the s...

How to plot a surf-plot with out data extrapolation?

If I understand correcty, you want to set limits to the axes containing your figure. I suggest you use axis function to do the s...

4 months ago | 0

Answered

Data pre - processing for artificial Neural Network

Min-Max Normalization is usually done when the data has varying scales and the training model does not make any assumptions abou...

Data pre - processing for artificial Neural Network

Min-Max Normalization is usually done when the data has varying scales and the training model does not make any assumptions abou...

4 months ago | 0

| accepted

Answered

using grabit with log scales

There is not any support for image with log-scale in GRABIT yet. However, as a workaround you could do the following. For this ...

using grabit with log scales

There is not any support for image with log-scale in GRABIT yet. However, as a workaround you could do the following. For this ...

4 months ago | 0

| accepted

Answered

Is the rectifyStereoImages function or the "Stereo Image Rectification" simulink model more accurate?

The StereoImageRectificationHDL model is a designed to be compatible with FPGA-hardware and is focused mainly on low computation...

Is the rectifyStereoImages function or the "Stereo Image Rectification" simulink model more accurate?

The StereoImageRectificationHDL model is a designed to be compatible with FPGA-hardware and is focused mainly on low computation...

4 months ago | 0

| accepted

Answered

How can i get a bounding box around the vehicles and not around all the objects in the image

If you just want to get a bounding box around the vehicles in this particular image, you could set constraints on the size of th...

How can i get a bounding box around the vehicles and not around all the objects in the image

If you just want to get a bounding box around the vehicles in this particular image, you could set constraints on the size of th...

5 months ago | 0

Answered

Create composite mask, and apply this mask to an image

A better approach would be to use a single mask for your entire image. Start with a matrix of same size as your image and update...

Create composite mask, and apply this mask to an image

A better approach would be to use a single mask for your entire image. Start with a matrix of same size as your image and update...

5 months ago | 1

| accepted