Answered
Methode der Kleinsten Fehlerquadrate
Hi You can use ‘fit’ function to use least square method to calculate straight line equation. For example, consider the below ...

6 years ago | 0

Answered
semanticseg producing marginally different values when inference is repeated
Hi The slight difference in probability may be because of incorrect use of random seed or you are using dropout layer in the n...

6 years ago | 0

Answered
Train Neural Net with 2 dimensional input and 1 dimensional output
Hi, You can use ‘fitnet’ function to train the network. For more information, you can refer to this link. For second question,...

6 years ago | 0

Answered
Maximum number of input neurons to the neural network
Hi Naina, You are having the dataset which consists of 512 samples with 30000 dimensions. You have less data. But the way yo...

6 years ago | 0

Answered
For loop in custom loss function of deep neural network
Hi Jubeyer You can define a custom loss function in MATLAB, for example you can refer to this link. You can use for loop insid...

6 years ago | 0

| accepted

Answered
ocr wont work on single digit in an image
Hi Oliver, The single character is not recognized may be due to irregular background or the text is sparse. In this case, if y...

6 years ago | 1

Answered
How to detect the difference between two images with random dot pattern
Hi Devarshi You can directly subtract the images to see their difference. For example: a=imread('IMG_2035.jpg'); b=imread('...

6 years ago | 0

Answered
Neural Networks Gradient - what is a good value?
Hi Tiago, Gradient is associated with the rate of change of MSE with respect to the weights. You can’t justify the model perf...

6 years ago | 0

| accepted

Answered
I don't know why this code incorrect. ( I want detect circle using canny method.)
Hi Kim, You can find your answer here.

6 years ago | 0

Answered
Unable to perform assignment because the size of the left side is 2-by-1 and the size of the right side is 2-by-2.
Hi Mahmoud, As per your code, V is a vector of 2X1, C and G are matrix of 2X2, B is a row vector of 1X2, dt is a scal...

6 years ago | 0

Answered
Is Semantic Segmentation more accurate than Object Detection?
Hi Chuan, Semantic segmentation gives a pixel level classification in an image, i.e. it classifies the pixels into its corresp...

6 years ago | 0

| accepted

Answered
CNN for EEG 2-class pattern classification
Hi Naina, You have an EEG dataset of two classes of dimensions 1200X16X100. Initially, put the dataset of both the classes int...

6 years ago | 0

| accepted

Answered
How can I convert an image to cartesian coordinates?
Hi Ian, You can use ‘imshow’ function to display the image. Then select the the datatips and hover over the image and anywhere...

6 years ago | 0

Answered
Plot 3D EM waves
Hi Wiqas, You can refer to below link for your answer: https://www.mathworks.com/matlabcentral/answers/451930-how-to-draw-a-...

6 years ago | 1

Answered
How do I plot the impulse response of a sound?
Hi Ashley, You can use impz, an inbuilt function in MATLAB to find the impulse response of discrete system. After finding tran...

6 years ago | 0

| accepted

Answered
use pre-defined network (ANN) and re-use it in function
Hi MINA, It seems that the file ‘ann_ROM’ is not present in current working directory of MATLAB. Add/ Copy the file ‘ann_ROM’ ...

6 years ago | 0

Answered
Why subplot is not working?
Hi Darkhan, It seems the condition (‘d > s’) which you put in while loop is not satisfied, so the subplot command is not execu...

6 years ago | 0

Answered
how can I calculate the number of cristalysing cycles in MATLAB?
Hi Hamed, To count the number of times RH>75.3%, first you store your dataset in a variable and take a counter (initialize to ...

6 years ago | 0

Answered
switched system with time delay
Hi Amani, There are some bugs in your code which needs to be fixed in order to run the script. Variable history should be 1X...

6 years ago | 0

Answered
Frequency response of digital filter
Hi Joshua In your code, you are using same transfer function for ‘s’ and ‘z’ domain. You specified Y(s)/X(s) which you did not...

6 years ago | 0

Answered
I have data that is 3x200 I need a xbar and r chart with control limits.
Hi Brady You are getting an error of some size mismatch of your input data. The variable ‘x’ is having a size of 3X200. The er...

6 years ago | 1

Answered
코드 확인하고 행렬 관계
Hi Joonyoung As per your code, you are ploting T(t) with x=0.01. You are correct if you want to plot at constant value of x wh...

6 years ago | 1

| accepted

Answered
How to find guassian distribution
Hi Shilpa, It seems either you want to generate the histogram of an image or you want to generate a matrix which follows guass...

6 years ago | 0

Answered
How can I make a Loop (!) over the image using a 5×5 pixel window
Hi Nadeen, It seems you want to do average filtering of an image with the kernal size of 5x5. It can be done using imfilter co...

6 years ago | 0

| accepted

Answered
행렬 선언에 대해 (미지수 포함)
Hi Hyo The unknown variables can be declared using syms function. For your case, consider the below code: syms V syms w A...

6 years ago | 0

Answered
I have to sum the mat2d_SRIz matrices that are renewed at each for cycle. I have to make the accumulation of these matrices. If I write: Matrix_sum = matrix_sum + mat2d_SRIz I can't do it. Any solution?
Hi Mario, As per your code, you have initialized the matrice_somma variable inside the for loop, which is every time assigned ...

6 years ago | 0

Answered
Plot the timestamp versus data from excel file
Hi Suresh, It looks like datetick function does not have a precision of millisecond while converting datenum object back to da...

6 years ago | 0

Answered
How to do a 3D plot of this loop. I have tried the following.
Hi, As per your code, in the last line you are using surf command with (x,y) arguments. The variables x and y are taking the ...

6 years ago | 0

Answered
Need to find dominant frequencies, as well as peaks corresponding to noise and amplitude
Hi, The prominent frequency and amplitude can be estimated by plotting the power spectral density of the required signal. Sinc...

6 years ago | 0

| accepted

Answered
repeated roots in residue fn, how to read/ display??
Hi, It is possible to know if the fraction contains multiple roots. As per your given code, ‘r’ contains the residue, ‘p’ cont...

6 years ago | 0

Load more