Answered

Trouble Looping and recording distance between nearest centriods

The Index exceeding error might be because you are looping "k" variable from 1 to 20, but the "j" variable is looping from 2 to ...

Trouble Looping and recording distance between nearest centriods

The Index exceeding error might be because you are looping "k" variable from 1 to 20, but the "j" variable is looping from 2 to ...

mer än ett år ago | 1

| accepted

Answered

How to detect smarhtphone's screen in an image

You can use the regionprops function to get a bounding box for the region of interest in your image. The 'BoundingBox' property ...

How to detect smarhtphone's screen in an image

You can use the regionprops function to get a bounding box for the region of interest in your image. The 'BoundingBox' property ...

mer än ett år ago | 1

| accepted

Answered

Numeric Integral: 1/T * integral x(t)^2 dt [tau, T-tau]

I suggest you refer the documentation on the MATLAB function for numerical integration. Go through the examples to get an idea o...

Numeric Integral: 1/T * integral x(t)^2 dt [tau, T-tau]

I suggest you refer the documentation on the MATLAB function for numerical integration. Go through the examples to get an idea o...

mer än ett år ago | 0

Answered

Split a matrix according to sizes of cell arrays and store the result in cells/table

For this scenario, you can probably set a for loop to split the matrix "A" into cells with the same row dimensions as tbl.spectr...

Split a matrix according to sizes of cell arrays and store the result in cells/table

For this scenario, you can probably set a for loop to split the matrix "A" into cells with the same row dimensions as tbl.spectr...

mer än ett år ago | 0

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

mer än ett år 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, ...

mer än ett år 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 ...

mer än ett år 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...

mer än ett år 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.

mer än ett år 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...

mer än ett år 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 ...

mer än ett år 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...

mer än ett år 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...

mer än ett år 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 ...

mer än ett år 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 ...

mer än ett år 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...

mer än ett år 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...

nästan 2 år 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...

nästan 2 år 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...

nästan 2 år 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...

nästan 2 år 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 ...

nästan 2 år 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...

nästan 2 år 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...

nästan 2 år 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...

nästan 2 år 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...

nästan 2 år 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.

nästan 2 år 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 ...

nästan 2 år 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...

nästan 2 år 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...

nästan 2 år 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...

nästan 2 år ago | 1

| accepted