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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

4 years ago | 1

| accepted

Load more