Answered

Error: Too many input arguments

Make sure you are using the modified version of the 'projectAndReshapeLayer' class. The updated class file can be located in the...

Error: Too many input arguments

Make sure you are using the modified version of the 'projectAndReshapeLayer' class. The updated class file can be located in the...

alrededor de 1 año ago | 0

| accepted

Answered

How to find new coordinates of a point after image rotation?

I am not able to rectify the issue in your case since you have not provided the image. But you can see the results on a sample i...

How to find new coordinates of a point after image rotation?

I am not able to rectify the issue in your case since you have not provided the image. But you can see the results on a sample i...

alrededor de 1 año ago | 1

Answered

integral2 failing to calculate area of a square inside a circle?

Please correct the equation of the circular region in function 'Zfun1'. It should be of the form, x^2+y^2<=r^2.

integral2 failing to calculate area of a square inside a circle?

Please correct the equation of the circular region in function 'Zfun1'. It should be of the form, x^2+y^2<=r^2.

alrededor de 1 año ago | 0

| accepted

Answered

Fitting a specific linear function to data

You can launch the Curve Fitting Tool with 'cftool( x, y, z )' for your case. This will create a surface fit to x and y inputs a...

Fitting a specific linear function to data

You can launch the Curve Fitting Tool with 'cftool( x, y, z )' for your case. This will create a surface fit to x and y inputs a...

alrededor de 1 año ago | 0

Answered

Image sequence (images behind each other) MATLAB

I am not sure if there is any MATLAB tool/function that does this specifically. But as a workaround, a simple script can create ...

Image sequence (images behind each other) MATLAB

I am not sure if there is any MATLAB tool/function that does this specifically. But as a workaround, a simple script can create ...

alrededor de 1 año ago | 0

Answered

Interleaving vectors in simulink

I am not sure if there exist a block that specifically does this. However, this task can be done easily by creating a custom MAT...

Interleaving vectors in simulink

I am not sure if there exist a block that specifically does this. However, this task can be done easily by creating a custom MAT...

alrededor de 1 año ago | 0

Answered

vl_compilenn error in MatConvNet using GPU

It looks like 'vl_compilenn' is from a third-party repo called 'MatConvNet' which has its own forums. You can try looking for a ...

vl_compilenn error in MatConvNet using GPU

It looks like 'vl_compilenn' is from a third-party repo called 'MatConvNet' which has its own forums. You can try looking for a ...

alrededor de 1 año ago | 0

Answered

Why doesn't tcpclient find server for WiFi communication?

You can communicate with ESP8266 on MATLAB through ThingSpeak for an IOT project. You can find more details on these projects he...

Why doesn't tcpclient find server for WiFi communication?

You can communicate with ESP8266 on MATLAB through ThingSpeak for an IOT project. You can find more details on these projects he...

alrededor de 1 año ago | 0

Answered

Why the Reinforcement Learning seems do not learn anything?

If the agent is not taking good choices at later episodes, it is likely that the exploration epsilon factor is still high. You c...

Why the Reinforcement Learning seems do not learn anything?

If the agent is not taking good choices at later episodes, it is likely that the exploration epsilon factor is still high. You c...

alrededor de 1 año ago | 0

Answered

How to create loop

You can use for loop to automate this task. For example, "k" ranging from 2 to 10 in steps of 1 can be done in the following man...

How to create loop

You can use for loop to automate this task. For example, "k" ranging from 2 to 10 in steps of 1 can be done in the following man...

alrededor de 1 año ago | 0

| accepted

Answered

How to do FPGA inference of deblur GAN network using deep learning HDL tool box?

You have various options to import a trained model into MATLAB. If your model is a pretrained TensorFlow-Keras network, you can ...

How to do FPGA inference of deblur GAN network using deep learning HDL tool box?

You have various options to import a trained model into MATLAB. If your model is a pretrained TensorFlow-Keras network, you can ...

alrededor de 1 año ago | 0

Answered

Image Labeler taking ROI and discard the background

You cannot use the Image Labeler to segment/crop out the image using an ROI. You can, however, simply use the imcrop function to...

Image Labeler taking ROI and discard the background

You cannot use the Image Labeler to segment/crop out the image using an ROI. You can, however, simply use the imcrop function to...

alrededor de 1 año ago | 1

Answered

how to detect areas within a binary image with vision.BlobAnalysis ?

Can you check if you have the Computer Vision Toolbox installed with your MATLAB software. You can execute the following command...

how to detect areas within a binary image with vision.BlobAnalysis ?

Can you check if you have the Computer Vision Toolbox installed with your MATLAB software. You can execute the following command...

alrededor de 1 año ago | 0

Answered

Neural network working properly on Matlab but not in Simulink

Please see the documentation page for gensim. When giving a parameter for 'SampleTime', its value may be -1 or any integer great...

Neural network working properly on Matlab but not in Simulink

Please see the documentation page for gensim. When giving a parameter for 'SampleTime', its value may be -1 or any integer great...

alrededor de 1 año ago | 0

Answered

Read different matrix into a loop

You can concat all the monthData matrices into a single matrix called monthData. Then you can use the following for i=1:12 ...

Read different matrix into a loop

You can concat all the monthData matrices into a single matrix called monthData. Then you can use the following for i=1:12 ...

alrededor de 1 año ago | 0

Answered

Parrot rolling error generating code matlab 2020

The MATLAB Support Package for Parrot Drones currently supports the Parrot Mambo FPV and Parrot Bebop2 drones only. Alternative...

Parrot rolling error generating code matlab 2020

The MATLAB Support Package for Parrot Drones currently supports the Parrot Mambo FPV and Parrot Bebop2 drones only. Alternative...

alrededor de 1 año ago | 0

Answered

To select a text file from a directory into appdesigner

You can use the uigetfile component to open file selection dialog box, which can be used to select a text file in appdesigner.

To select a text file from a directory into appdesigner

You can use the uigetfile component to open file selection dialog box, which can be used to select a text file in appdesigner.

alrededor de 1 año ago | 0

Answered

Axis stacking above eachother when creating a video and using two seperate x- and y-axes

Try setting the axis limits and ticks outside, before the for loop. Currently, the ticks and limits are being added on every ite...

Axis stacking above eachother when creating a video and using two seperate x- and y-axes

Try setting the axis limits and ticks outside, before the for loop. Currently, the ticks and limits are being added on every ite...

más de 1 año ago | 0

Answered

How to plot 2D graph using 'to workspace block' and need to be popped up after simulation completed

You can write a matlab script that runs your simulation model and then plots the data that is added to the workspace. Something ...

How to plot 2D graph using 'to workspace block' and need to be popped up after simulation completed

You can write a matlab script that runs your simulation model and then plots the data that is added to the workspace. Something ...

más de 1 año ago | 0

Answered

Identify Simulink blocks by shape and ports?

You can use this Mathworks documentation link to search among all the Simulink blocks. You can even select a particular toolbox ...

Identify Simulink blocks by shape and ports?

You can use this Mathworks documentation link to search among all the Simulink blocks. You can even select a particular toolbox ...

más de 1 año ago | 0

| accepted

Answered

Summation with For Loop 2

If you want to compute the sum of the f-terms as symbolic functions, you can use the symsum function to get the sum of your seri...

Summation with For Loop 2

If you want to compute the sum of the f-terms as symbolic functions, you can use the symsum function to get the sum of your seri...

más de 1 año ago | 0

| accepted

Answered

How could i train my network on GPU?

For training the network on a single particular GPU, you can select that GPU before you start the training and set the 'Executio...

How could i train my network on GPU?

For training the network on a single particular GPU, you can select that GPU before you start the training and set the 'Executio...

más de 1 año ago | 0

| accepted

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

más de 1 año 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 ...

más de 1 año 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...

más de 1 año 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...

más de 1 año 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. ...

más de 1 año 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, ...

más de 1 año 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 ...

más de 1 año 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...

más de 1 año ago | 1

| accepted