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

Action Value can't be constained

For your first question: Have a look at the discussion here. https://www.mathworks.com/matlabcentral/answers/515602-incorrect-t...

Action Value can't be constained

For your first question: Have a look at the discussion here. https://www.mathworks.com/matlabcentral/answers/515602-incorrect-t...

4 days ago | 0

Answered

divideint divides the same way every time even when I place 'rng shuffle' before it.

divideint uses a deterministic algorithm to partition the indices. You can use dividerand instead for a random partition of indi...

divideint divides the same way every time even when I place 'rng shuffle' before it.

divideint uses a deterministic algorithm to partition the indices. You can use dividerand instead for a random partition of indi...

4 days ago | 0

Answered

DO I need finalize shallow Neural network Model for prediction?

It depends. Whether you need to train your model on your whole data set or not depends on what you want to achieve. In the b...

DO I need finalize shallow Neural network Model for prediction?

It depends. Whether you need to train your model on your whole data set or not depends on what you want to achieve. In the b...

4 days ago | 0

| accepted

Answered

LSTM cell operation with different number of hidden units

For your question, I am going to refer you to an earlier answer of mine: https://www.mathworks.com/matlabcentral/answers/525184...

LSTM cell operation with different number of hidden units

For your question, I am going to refer you to an earlier answer of mine: https://www.mathworks.com/matlabcentral/answers/525184...

7 days ago | 0

| accepted

Answered

trapezoidal signal down and upsample

Have a look at the upsample and downsample functions. If you would prefer to not have 0s, you can try using the interp1 functi...

trapezoidal signal down and upsample

Have a look at the upsample and downsample functions. If you would prefer to not have 0s, you can try using the interp1 functi...

7 days ago | 0

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

4 months ago | 0