Answered
How to do the sum for 2 gradient objects in the deep learning toolbox?
As in this case, 'gradients1.Value' and 'gradients2.Value' both are cell arrays and each one contains another cell arrays as ele...

7 maanden ago | 0

Answered
What is the error histogram in neural network matlab?
Error histogram is the histogram of the errors between target values and predicted values after training a feedforward neural ne...

7 maanden ago | 1

Answered
Is there any way to use "activations" function for a dlnetwork ?
The "activations" function supports only SeriesNetwork object or DAGNetwork object, but doesn't support 'dlnetwork' object. Ho...

7 maanden ago | 0

| accepted

Answered
How to create and plot a Gaussian Dist with specified parameters?
You can follow this example to create and plot a Gaussian distribution. a = -100; b = 100; x = a + (b-a) * rand(1, 500); mu =...

7 maanden ago | 0

Answered
question about vector multiplication
The first two options of your question are performing matrix multiplication of the vectors A and B by considering them nX1 and 1...

7 maanden ago | 0

Answered
dlnetwork with two inputs
Currently, to build 'dlnetwork' object, network must contain only one input layer. Hence, in current framework you cannot conver...

7 maanden ago | 0

Answered
Average NDVI from RGB image
You can follow this example to get an idea how NDVI values are computed. https://www.mathworks.com/help/images/finding-vegetati...

7 maanden ago | 0

Answered
Lat/Lon to Row/Colmn
There are two functions which you can use. If you have the GeoTIFF file, then “geotiffread”helps to read a georeferenced graysc...

7 maanden ago | 0

Answered
how to change these parts to 0??
Assuming the dct image is ‘dct_img’ and the indexes of the sections are as shown here in this figure, you can create four inve...

7 maanden ago | 0

Answered
How to keep fix the CNN accuracy result in MATLAB?
As the training progresses, for each iteration, weights of the network got updated. Hence, after some iterations of training, wh...

10 maanden ago | 0

Answered
Difference between gTruth and pixellabeldata images
‘ImagePixelCount’ represents the total number of pixels present in the image. ‘PixelCount’ represents the number of pixels corr...

10 maanden ago | 0

| accepted

Answered
How to do autocorrelation with audio signal and parameters
To perform correlation between two signals, you can use ‘xcorr’ function. In ‘xcorr’, if you provide only one input, output wil...

10 maanden ago | 0

| accepted

Answered
Error in image size U-Net
In U-Net, generally the patch sizes are determined in accordance with the subsequent max-pool layers, so that the down-sampling ...

10 maanden ago | 0

Answered
Simout does not produce the timeseries data
To export data from Simulink to MATLAB workspace, you can use ‘To Workspace’ block from ‘Sinks’ in ‘Simulink’ library and set th...

10 maanden ago | 1

| accepted

Answered
Gaussian pyramid vs imresize
In ‘imresize’ function, by default bicubic interpolation is used to resize an image. However, there is also option to specify th...

10 maanden ago | 0

Answered
Boost/Enhance white pixels
First, you can binarize the image and then use ‘bwmorph’ function to thicken the white lines present in the image. Format of us...

10 maanden ago | 1

| accepted

Answered
Image reading and processing
After reading the image properly, you can separate the channels using this code segment. a=imread('test.jpg'); a_red=a(:,:,...

10 maanden ago | 0

| accepted

Answered
Table for neural network regression
To retrieve the data from the text file, you can use “readtable” function in this way: tbl=readtable('test.txt','Format','%s%f'...

11 maanden ago | 0

| accepted

Answered
Invalid Transformation in trainNetwork (on pixelLabelImageDatastore)
The error you are getting is coming from the use of “imresize” function over pixel-label image datastore object i.e. “pximds”. T...

11 maanden ago | 0

Answered
Invalid training data. X and Y must have the same number of observations for training a network with MFCC coefficients..
To use the “XTrain”and “YTrain” in “trainNetwork” function, you should reshape those properly, otherwise it will throw this type...

11 maanden ago | 0

Answered
How can i get frames of a signal using peaks as reference?
“findpeaks” function returns the values of the peaks as well as their locations. Hence, you can store both information in two ar...

11 maanden ago | 0

| accepted

Answered
How to find MSE for different number of iterations when i have an audio signal
To calculate Mean Squared Error (MSE) between the two signals, first you have to calculate the difference between the two signal...

11 maanden ago | 0

Answered
Why is jordan() much slower than eig()? Both in symbolic forms
Difference between speed of two functions came from the difference between the algorithms used in the implementation of the two ...

11 maanden ago | 1

| accepted

Answered
how to drive this equations in simulink ? can anyone help me?
To model differential equations in Simulink, you should follow these steps: First, make a list of all the constant valued varia...

11 maanden ago | 2

| accepted

Answered
Error using plot Vectors must be the same length.
In your code, “Acceleration” and “ds_mapping”are row vectors whether “t_sec” is a column vector. Hence, you should first conve...

11 maanden ago | 0

Answered
How to remove the lines in the image?
After inspecting the script that you are using, it seems that data stored in the “input_data.txt” is stored in channels first fo...

11 maanden ago | 1

| accepted

Answered
Choosing the best set of initial weights of a neural network to train all dataset
The simplest way to initialize weights and biases is to set those to small uniform random values which works well for neural net...

11 maanden ago | 0

| accepted

Answered
How can I correctly use ifft2 on an image that I've used roifilt2 on?
After inspecting your code, it seems that there are two important missing steps. First, the roifilt2 function is working prope...

11 maanden ago | 0

| accepted

Answered
new wavelet for cwt
From the error information you have provided, it seems that there is an undefined variable/function ‘waveso’ in your code. You c...

11 maanden ago | 0

| accepted

Answered
Loudspeaker array design and test
Currently there is no option to set a loudspeaker as an array element in “Phased Array Toolbox”. You can only use Antenna elemen...

11 maanden ago | 0

| accepted

Load more