Hi, I'm an Applications Support Engineer at Mathworks.

My areas of interest are signal processing and communications. I've also spent a little while on reinforcement learning, machine learning and deep learning.

DISCLAIMER: Any ideas or opinions posted here are my own and in no way reflect that of MathWorks.

Answered

Machine Learning onramp section 4.6

For 2 and 3, have a look at https://www.mathworks.com/help/matlab/matlab_prog/add-and-delete-table-rows.html#AddAndDeleteTableRo...

Machine Learning onramp section 4.6

For 2 and 3, have a look at https://www.mathworks.com/help/matlab/matlab_prog/add-and-delete-table-rows.html#AddAndDeleteTableRo...

24 days ago | 0

Answered

How to set dimension of input data for LSTM?

For the first part of your question on number of steps in an LSTM I am going to redirect you to an earlier answer of mine. Essen...

How to set dimension of input data for LSTM?

For the first part of your question on number of steps in an LSTM I am going to redirect you to an earlier answer of mine. Essen...

24 days ago | 0

Answered

Position or Coordinates of Labels

Let me establish a couple of details first before I go ahead and explain how to solve your problem. 1. axes.XLabel.Position ...

Position or Coordinates of Labels

Let me establish a couple of details first before I go ahead and explain how to solve your problem. 1. axes.XLabel.Position ...

24 days ago | 0

| accepted

Answered

AWGN function snr parameter

A higher Signal to Noise Ratio (SNR) would mean that the Signal Power is more as compared to the Noise Power. When that is the c...

AWGN function snr parameter

A higher Signal to Noise Ratio (SNR) would mean that the Signal Power is more as compared to the Noise Power. When that is the c...

25 days ago | 0

Answered

Deep Network Designer missing Data and Training tab

Those features were added as part of the R2020a release. You can check those details in the release notes.

Deep Network Designer missing Data and Training tab

Those features were added as part of the R2020a release. You can check those details in the release notes.

25 days ago | 0

| accepted

Answered

what does the error mean "Index in position 2 exceeds array bounds (must not exceed 1). Error in heat2 (line 116) if abs(Qforced(r,c) - Qfree(1,iterations)) < 0.001"

At some point in your program, either the ‘r’ or ‘c’ or ‘iterations’ variables are being used to index into a position in their ...

what does the error mean "Index in position 2 exceeds array bounds (must not exceed 1). Error in heat2 (line 116) if abs(Qforced(r,c) - Qfree(1,iterations)) < 0.001"

At some point in your program, either the ‘r’ or ‘c’ or ‘iterations’ variables are being used to index into a position in their ...

25 days ago | 0

Answered

How to solve the differential equation numerically

As others have mentioned in the comments, ODE seems best suited for this problem. Here’s an example from which you can adapt a s...

How to solve the differential equation numerically

As others have mentioned in the comments, ODE seems best suited for this problem. Here’s an example from which you can adapt a s...

26 days ago | 0

| accepted

Answered

Image segmentation using gaussian mixture model clustering based on the blobworld paper

Here's a popular implementation of the EM algorithm from File Exchange which might be of use to you: Expectation Maximization A...

Image segmentation using gaussian mixture model clustering based on the blobworld paper

Here's a popular implementation of the EM algorithm from File Exchange which might be of use to you: Expectation Maximization A...

26 days ago | 0

Answered

How can I use double-sided z transform?

Currently the ztrans function does not support bilateral transforms. This is a known limitation and our developers are looking i...

How can I use double-sided z transform?

Currently the ztrans function does not support bilateral transforms. This is a known limitation and our developers are looking i...

27 days ago | 1

Answered

How to change /rotate the initial pose of the ego vehicle in the bird eye view ??

In the Driving Scenario App, you can change the Yaw for the required actor under the Actors tab to a negative value. A good in...

How to change /rotate the initial pose of the ego vehicle in the bird eye view ??

In the Driving Scenario App, you can change the Yaw for the required actor under the Actors tab to a negative value. A good in...

1 month ago | 0

| accepted

Answered

import a Keras pre-trained network into Matlab

You can use the 'Weights' property for each PlaceholderLayer. placeholderLayers = findPlaceholderLayers(lgraph); placeholderL...

import a Keras pre-trained network into Matlab

You can use the 'Weights' property for each PlaceholderLayer. placeholderLayers = findPlaceholderLayers(lgraph); placeholderL...

1 month ago | 1

Answered

Pixellabeldata is not showing the segmented inforamtion in gTruth file.

There seems to be two questions to be addressed. It is important to understand the kind of data being exported from the Image ...

Pixellabeldata is not showing the segmented inforamtion in gTruth file.

There seems to be two questions to be addressed. It is important to understand the kind of data being exported from the Image ...

1 month ago | 0

Answered

MatFile grows exponentially larger in an empty table replacement loop?

This is a known issue in MAT files saved with version 7.3 based on HDF5 which does not manage freespace as effectively as it sho...

MatFile grows exponentially larger in an empty table replacement loop?

This is a known issue in MAT files saved with version 7.3 based on HDF5 which does not manage freespace as effectively as it sho...

2 months ago | 0

Answered

Plot approach to steady state solution

Can you give this a try? figure title('Exact Steady State Temperature Profile') hold on plot(r_profile,Up_exact,'r-'); xlab...

Plot approach to steady state solution

Can you give this a try? figure title('Exact Steady State Temperature Profile') hold on plot(r_profile,Up_exact,'r-'); xlab...

2 months ago | 0

| accepted

Answered

How to convert from RGB to YUV lossless?

Short Answer: You can avoid data loss in images of type ‘float’. You most likely can’t do it with images of type ‘uint8’ or ‘ui...

How to convert from RGB to YUV lossless?

Short Answer: You can avoid data loss in images of type ‘float’. You most likely can’t do it with images of type ‘uint8’ or ‘ui...

2 months ago | 1

| accepted

Answered

WHICH IS THE NARNET ACTIVATION FUNCTION IN THE HIDDEN LAYERS?

The default activation in a Hidden layer created by narnet is tansig. Quick way to check this is by running: net = narnet; ...

WHICH IS THE NARNET ACTIVATION FUNCTION IN THE HIDDEN LAYERS?

The default activation in a Hidden layer created by narnet is tansig. Quick way to check this is by running: net = narnet; ...

2 months ago | 1

Answered

DAGNetwork showing no properties.

Here are the explanations for the three different types of warnings you’re seeing. Reference to non-existent field 'IsAvera...

DAGNetwork showing no properties.

Here are the explanations for the three different types of warnings you’re seeing. Reference to non-existent field 'IsAvera...

2 months ago | 0

| accepted

Answered

LSTM (more input steps than hidden layers) How does Matlab handle this?

You’ve shown in your diagram that an LSTM unrolls with each cell connected to the next (except the last cell, of course.) The co...

LSTM (more input steps than hidden layers) How does Matlab handle this?

You’ve shown in your diagram that an LSTM unrolls with each cell connected to the next (except the last cell, of course.) The co...

2 months ago | 1

| accepted

Answered

Extract rows from table to input into new table

You can do this with ismember and logical operators. ind1 = ismember(T.Var1,[3 5]) ; ind2 = ismember(T.Var2,[5 4]); ind3 ...

Extract rows from table to input into new table

You can do this with ismember and logical operators. ind1 = ismember(T.Var1,[3 5]) ; ind2 = ismember(T.Var2,[5 4]); ind3 ...

2 months ago | 0

Answered

Error reshape in neural network

The first input argument to the sequenceInputLayer should be the size of the input sequence at each time step. If your input ...

Error reshape in neural network

The first input argument to the sequenceInputLayer should be the size of the input sequence at each time step. If your input ...

2 months ago | 0

Answered

Finding coefficients of polynomials with inequality constrains

Have a look at the following example to see if it can help you: https://www.mathworks.com/help/symbolic/solve.html#buql15h-5 ...

Finding coefficients of polynomials with inequality constrains

Have a look at the following example to see if it can help you: https://www.mathworks.com/help/symbolic/solve.html#buql15h-5 ...

2 months ago | 0

Answered

Training of Mamdani Fuzzy Logic systems?

Have a look at the following example to get started: https://www.mathworks.com/help/fuzzy/tune-mamdani-fuzzy-inference-system.h...

Training of Mamdani Fuzzy Logic systems?

Have a look at the following example to get started: https://www.mathworks.com/help/fuzzy/tune-mamdani-fuzzy-inference-system.h...

3 months ago | 0

Answered

How do I get ridge regression tuning parameters from fitrtree and crossval?

crossval finds the k-fold cross validation loss of a given model with respect to a given dataset. I don’t see how you can use fi...

How do I get ridge regression tuning parameters from fitrtree and crossval?

crossval finds the k-fold cross validation loss of a given model with respect to a given dataset. I don’t see how you can use fi...

3 months ago | 0

Answered

Incorrect tanhLayer output in RL agent

I’ve tried this. I still don’t see the values going beyond [–1, 1]. However, I might be able to answer your question. If you hav...

Incorrect tanhLayer output in RL agent

I’ve tried this. I still don’t see the values going beyond [–1, 1]. However, I might be able to answer your question. If you hav...

3 months ago | 1

| accepted

Answered

How to plot this equation?

Your question is unclear to me as well. I’m not sure what the independent variables are here. There are broadly two main ways...

How to plot this equation?

Your question is unclear to me as well. I’m not sure what the independent variables are here. There are broadly two main ways...

3 months ago | 0

Answered

spectrogram having as input a vector F

The spectrogram function computes the Short-Time Fourier Transform (STFT). The STFT will be computed at frequencies (in Hz) s...

spectrogram having as input a vector F

The spectrogram function computes the Short-Time Fourier Transform (STFT). The STFT will be computed at frequencies (in Hz) s...

3 months ago | 0

Answered

Must I have dataset with multiple classes in a single image to train a Faster R-CNN detection network?

You can have images with only one class. There is no issue with that. The issue is with bboxwrap which you used while performi...

Must I have dataset with multiple classes in a single image to train a Faster R-CNN detection network?

You can have images with only one class. There is no issue with that. The issue is with bboxwrap which you used while performi...

3 months ago | 0

Answered

Deep Neural Network process

Although I’m not sure which functions you are using to implement your Feedforward Network, I should still be able to answer your...

Deep Neural Network process

Although I’m not sure which functions you are using to implement your Feedforward Network, I should still be able to answer your...

3 months ago | 0

Answered

Calculate Expected Value and Variance for Bivariate Normal Distribution

To find the empirical estimate of variable XY, you can use the following command: Exy = mean(prod(R,2)); To find the empiric...

Calculate Expected Value and Variance for Bivariate Normal Distribution

To find the empirical estimate of variable XY, you can use the following command: Exy = mean(prod(R,2)); To find the empiric...

3 months ago | 0

| accepted

Answered

Plot Fourier Series on MatLab

Your coefficients are right. The issue is that instead of adding the n-th cosine to the exiting variable ‘fourier’, you were ove...

Plot Fourier Series on MatLab

Your coefficients are right. The issue is that instead of adding the n-th cosine to the exiting variable ‘fourier’, you were ove...

3 months ago | 0