Answered

Sound File/Split Wave and Analysis

I am assuming that you want to separate the vector “y” into 8 segments with 1560 samples each. This may be directly indexed from...

Sound File/Split Wave and Analysis

I am assuming that you want to separate the vector “y” into 8 segments with 1560 samples each. This may be directly indexed from...

ongeveer 4 jaar ago | 1

| accepted

Answered

function checkImageAndNetworkChannelSizes

Here are a few pointers which may be of help: The function “ndims()” ignores all the trailing singleton dimensions of the inpu...

function checkImageAndNetworkChannelSizes

Here are a few pointers which may be of help: The function “ndims()” ignores all the trailing singleton dimensions of the inpu...

ongeveer 4 jaar ago | 0

Answered

data Augmentation for resizing images differently to reduce overfitting

“RandXTranslation” and “RandYTranslation” are name-value pairs used to indicate the horizontal and vertical translations to be a...

data Augmentation for resizing images differently to reduce overfitting

“RandXTranslation” and “RandYTranslation” are name-value pairs used to indicate the horizontal and vertical translations to be a...

ongeveer 4 jaar ago | 0

Answered

How to generate a heat map using imported data with (x,y, z as color)

You may use the following syntax to create the heat map. h = heatmap(tbl,xvar,yvar,'ColorVariable',cvar) where “tbl” is t...

How to generate a heat map using imported data with (x,y, z as color)

You may use the following syntax to create the heat map. h = heatmap(tbl,xvar,yvar,'ColorVariable',cvar) where “tbl” is t...

ongeveer 4 jaar ago | 0

Answered

Harmonics of Fourier series

The following code may help you to plot the first, 3rd and fifth harmonics of the signal t = 0:0.1:4*pi; numTerms = 3; ...

Harmonics of Fourier series

The following code may help you to plot the first, 3rd and fifth harmonics of the signal t = 0:0.1:4*pi; numTerms = 3; ...

ongeveer 4 jaar ago | 1

Answered

For loop only saving my last run

Here are a few pointers which may help with your situation: As per the code given above each iteration of the for loop causes ...

For loop only saving my last run

Here are a few pointers which may help with your situation: As per the code given above each iteration of the for loop causes ...

ongeveer 4 jaar ago | 0

Answered

how do you take the mean across columns but for singular row in a 960x31 array

The following documentation link may help you to get a better understanding about how to perform averaging operation in MATLAB ...

how do you take the mean across columns but for singular row in a 960x31 array

The following documentation link may help you to get a better understanding about how to perform averaging operation in MATLAB ...

ongeveer 4 jaar ago | 0

Answered

Data Augmentation not working

As per the MATLAB documentation for “imageDataAugmenter”, the augmented images are not saved to memory. So, the size of “augimds...

Data Augmentation not working

As per the MATLAB documentation for “imageDataAugmenter”, the augmented images are not saved to memory. So, the size of “augimds...

ongeveer 4 jaar ago | 1

| accepted

Answered

Transfer function MIMO in simulink

Here are a few pointers which may be of help to you in implementing the transfer function in Simulink The following code may be...

Transfer function MIMO in simulink

Here are a few pointers which may be of help to you in implementing the transfer function in Simulink The following code may be...

ongeveer 4 jaar ago | 0

Answered

How to substitute symbolic Jacobian of a multivariate function, D(f)(x)?

Please go through the following MATLAB Answer which addresses a similar issue https://www.mathworks.com/matlabcentral/answers/...

How to substitute symbolic Jacobian of a multivariate function, D(f)(x)?

Please go through the following MATLAB Answer which addresses a similar issue https://www.mathworks.com/matlabcentral/answers/...

ongeveer 4 jaar ago | 0

Answered

Symbolic array summation in MATLAB

Each iteration of the for loop in the above code creates a new symbolic function "ss" which creates three different expressions....

Symbolic array summation in MATLAB

Each iteration of the for loop in the above code creates a new symbolic function "ss" which creates three different expressions....

ongeveer 4 jaar ago | 0

| accepted

Answered

Need to plot 10 db return loss fractional bandwidth of a dipole antenna

I am assuming that the value of resonant frequency is 72 MHz instead of 72 Hz since the range of frequencies specified is from 2...

Need to plot 10 db return loss fractional bandwidth of a dipole antenna

I am assuming that the value of resonant frequency is 72 MHz instead of 72 Hz since the range of frequencies specified is from 2...

ongeveer 4 jaar ago | 0

| accepted

Answered

classification using decision tree

I am assuming that there may be some problem with the file names as the file ‘ECGFiveDays_TRAIN.xlsx’ contains only 23 records a...

classification using decision tree

I am assuming that there may be some problem with the file names as the file ‘ECGFiveDays_TRAIN.xlsx’ contains only 23 records a...

ongeveer 4 jaar ago | 1

| accepted

Answered

Gabor filter for array

I am assuming that you are trying to give vectors as inputs to the “imgaborfilt()” function. This may not be possible as the fun...

Gabor filter for array

I am assuming that you are trying to give vectors as inputs to the “imgaborfilt()” function. This may not be possible as the fun...

ongeveer 4 jaar ago | 0

Answered

Gaussian using fspecial('gaussian',h,s)

The “fspecial('gaussian',h,s)” returns a circularly symmetric gaussian function of size h*h. Since the value of h is updated in ...

Gaussian using fspecial('gaussian',h,s)

The “fspecial('gaussian',h,s)” returns a circularly symmetric gaussian function of size h*h. Since the value of h is updated in ...

ongeveer 4 jaar ago | 0

Answered

isolating certain x values for barplot from an undefined variable

My understanding is that you want to extract values from the “x” for which the ‘trial’ variable is free. To this end, you may us...

isolating certain x values for barplot from an undefined variable

My understanding is that you want to extract values from the “x” for which the ‘trial’ variable is free. To this end, you may us...

ongeveer 4 jaar ago | 0

| accepted

Answered

Invalid training data: The output size of the last layer does not match the response size

This issue arises due to size mismatch between the ground truth and the network output and may be resolved by setting the “Paddi...

Invalid training data: The output size of the last layer does not match the response size

This issue arises due to size mismatch between the ground truth and the network output and may be resolved by setting the “Paddi...

ongeveer 4 jaar ago | 1

| accepted

Answered

How can I write this equation into MATLAB script

Symbolic Math Toolbox may be used to implement the above equation in MATLAB. Here are a few suggestions which may be helpful in ...

How can I write this equation into MATLAB script

Symbolic Math Toolbox may be used to implement the above equation in MATLAB. Here are a few suggestions which may be helpful in ...

ongeveer 4 jaar ago | 1

Answered

mfilt.firtdecim to dsp.FIRDecimator

Please make use of the following code snippet to set the above mentioned properties in dsp.FIRDecimator object. Hd = dsp.FIR...

mfilt.firtdecim to dsp.FIRDecimator

Please make use of the following code snippet to set the above mentioned properties in dsp.FIRDecimator object. Hd = dsp.FIR...

ongeveer 4 jaar ago | 0

Answered

trying to compute Riemann's prime counting function J(x)

Here are a few pointers which may help with resolving the issue: The second term in the Reimann’s function is computed by taki...

trying to compute Riemann's prime counting function J(x)

Here are a few pointers which may help with resolving the issue: The second term in the Reimann’s function is computed by taki...

ongeveer 4 jaar ago | 0

Answered

Using awgn and snr functions in matlab

Here are a few pointers which may be able to help you. Since SNR is the ratio of Signal Power to noise power it should be comp...

Using awgn and snr functions in matlab

Here are a few pointers which may be able to help you. Since SNR is the ratio of Signal Power to noise power it should be comp...

ongeveer 4 jaar ago | 0

| accepted

Answered

Not Enough Input Arguments when trying to pass two variables as undefined

Here are a few pointers which may help in solving this issue: Currently the numerical integration function in MATLAB accepts o...

Not Enough Input Arguments when trying to pass two variables as undefined

Here are a few pointers which may help in solving this issue: Currently the numerical integration function in MATLAB accepts o...

ongeveer 4 jaar ago | 0

Answered

Append rows to .mat file

I understand that you want to add the files present in the folder ‘file_1’ into a single “. mat” file. You may use the following...

Append rows to .mat file

I understand that you want to add the files present in the folder ‘file_1’ into a single “. mat” file. You may use the following...

ongeveer 4 jaar ago | 0

| accepted

Answered

Deconvolution of fluorescence spectra

I am assuming that you want to create an algorithm which can automatically determine the optimal number of Gaussian components n...

Deconvolution of fluorescence spectra

I am assuming that you want to create an algorithm which can automatically determine the optimal number of Gaussian components n...

meer dan 4 jaar ago | 1

| accepted

Answered

hi, I have a time series data,I want to find first standard deviation array and second standard deviation array,using a standard deviation window,but I am getting errors.

I am assuming that you want to calculate the moving standard deviation of a time series data. Here are a few suggestions about...

hi, I have a time series data,I want to find first standard deviation array and second standard deviation array,using a standard deviation window,but I am getting errors.

I am assuming that you want to calculate the moving standard deviation of a time series data. Here are a few suggestions about...

meer dan 4 jaar ago | 0

| accepted

Answered

Doubts about cross-validation

I am assuming that you want to have some clarification regarding the cross-validation syntax in KNN and SVM KNN Classifier m...

Doubts about cross-validation

I am assuming that you want to have some clarification regarding the cross-validation syntax in KNN and SVM KNN Classifier m...

meer dan 4 jaar ago | 0

| accepted

Answered

Simulate Transmission using dsp.DigitalUpConverter and dsp.DigitalDownConverter

Here are a few pointers which may be able to help you. The baseband signal obtained after decimation contains some spurious si...

Simulate Transmission using dsp.DigitalUpConverter and dsp.DigitalDownConverter

Here are a few pointers which may be able to help you. The baseband signal obtained after decimation contains some spurious si...

meer dan 4 jaar ago | 0

| accepted

Answered

How to convert the text file (1x290400) to image as shown as below?

I am assuming that you want to create a montage for the given dataset. You may make use of the above code provided by Walter Rob...

How to convert the text file (1x290400) to image as shown as below?

I am assuming that you want to create a montage for the given dataset. You may make use of the above code provided by Walter Rob...

meer dan 4 jaar ago | 1

| accepted

Answered

Cannot find solution Of 4th order ODE using dsolve: Warning: Unable to find explicit solution.

I am assuming here that you want to form an analytical solution to the given 4th order ODE. It may not be considered a good prac...

Cannot find solution Of 4th order ODE using dsolve: Warning: Unable to find explicit solution.

I am assuming here that you want to form an analytical solution to the given 4th order ODE. It may not be considered a good prac...

meer dan 4 jaar ago | 1

| accepted

Answered

Determine if bulk movement is to the left or right of movie frame?

It is my understanding that you want to calculate the direction of motion of cells in a video. For this purpose, you may make...

Determine if bulk movement is to the left or right of movie frame?

It is my understanding that you want to calculate the direction of motion of cells in a video. For this purpose, you may make...

meer dan 4 jaar ago | 0

| accepted