I work at MathWorks India Pvt. Ltd.

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

Answered

Analysis of each layer in a Deep Learning Convolutional network

Hi Andreas, You can do this by using the following command: >> activations(net,X,layer) where 'net' is the trained network,...

Analysis of each layer in a Deep Learning Convolutional network

Hi Andreas, You can do this by using the following command: >> activations(net,X,layer) where 'net' is the trained network,...

1 month ago | 0

Answered

How to calculate the pressure loss of a local resistance by hand?

Hi, I see that you've used Bernoulli's equation to do the hand calculation with an additional term for the loss due to friction...

How to calculate the pressure loss of a local resistance by hand?

Hi, I see that you've used Bernoulli's equation to do the hand calculation with an additional term for the loss due to friction...

3 months ago | 0

Answered

Plot_Google_Map in App Designer

Hi Evan, Have you tried changing the axis handle in the code provided to that of UIAxes? I think that should enable in fulfilin...

Plot_Google_Map in App Designer

Hi Evan, Have you tried changing the axis handle in the code provided to that of UIAxes? I think that should enable in fulfilin...

3 months ago | 0

Answered

problem editing specific variables in a netcdf file using ncwrite

Hi Brice, It appears to be that the NC file specified in the 'filename' variable is not editable. Use the file explorer to have...

problem editing specific variables in a netcdf file using ncwrite

Hi Brice, It appears to be that the NC file specified in the 'filename' variable is not editable. Use the file explorer to have...

3 months ago | 0

| accepted

Answered

Can you create a camera parameters object given a lookup table that maps image points to world points?

Hi Wes, Have a look at the 'estimateCameraParameters' function. I think it does exactly what you're trying to do. https://www....

Can you create a camera parameters object given a lookup table that maps image points to world points?

Hi Wes, Have a look at the 'estimateCameraParameters' function. I think it does exactly what you're trying to do. https://www....

3 months ago | 0

Answered

I get an error when starting the Network boot server in SLRT Explorer saying "Can not get interface ip address". Where am I going wrong?

Hi Swaroop, IP address is different from MAC address. To obtain your current IP address, please enter the following command i...

I get an error when starting the Network boot server in SLRT Explorer saying "Can not get interface ip address". Where am I going wrong?

Hi Swaroop, IP address is different from MAC address. To obtain your current IP address, please enter the following command i...

4 months ago | 0

Answered

Access to SharePoint data via Matlab

Hi Zapaiz, You should be able to use WSDL to communicate between sharepoint and MATLAB. Please have a look into the following d...

Access to SharePoint data via Matlab

Hi Zapaiz, You should be able to use WSDL to communicate between sharepoint and MATLAB. Please have a look into the following d...

4 months ago | 0

| accepted

Answered

Deep Learning Add-On

Hello Ebrahim, It is possible to train a neural network on sequential data. The following documentation page links to differe...

Deep Learning Add-On

Hello Ebrahim, It is possible to train a neural network on sequential data. The following documentation page links to differe...

5 months ago | 0

Answered

simscape Induction Motor physical model

Hello Vitali, I think the following documentation on simulating an AC Motor Drive can be used as a starting point. https:/...

simscape Induction Motor physical model

Hello Vitali, I think the following documentation on simulating an AC Motor Drive can be used as a starting point. https:/...

5 months ago | 0

| accepted

Answered

Problem with fminsearch Error in fminsearch : (line 200) fv(:,1) = funfcn(x,varargin{:});

Hello Amandine, It seems that the function f is not defined in the right way. Here f is a function that takes 'portion_alpha'...

Problem with fminsearch Error in fminsearch : (line 200) fv(:,1) = funfcn(x,varargin{:});

Hello Amandine, It seems that the function f is not defined in the right way. Here f is a function that takes 'portion_alpha'...

5 months ago | 0

Answered

Error Installing Matlab 2018b on UBUNTU 18.04

Hello Sajan, Could you see if any firewall or proxy settings are interfering with the connection? Also, try to clear you brow...

Error Installing Matlab 2018b on UBUNTU 18.04

Hello Sajan, Could you see if any firewall or proxy settings are interfering with the connection? Also, try to clear you brow...

5 months ago | 0

Answered

openGL error whenever starting MATLAB on Ubuntu

According to the description of 'Psychtoolbox', the toolbox uses Hardware-accelerated OpenGL. Using '-softwareopengl' flag makes...

openGL error whenever starting MATLAB on Ubuntu

According to the description of 'Psychtoolbox', the toolbox uses Hardware-accelerated OpenGL. Using '-softwareopengl' flag makes...

7 months ago | 0

Answered

Importing Googlenet into convolutional autoencoder

depthConcatenationLayer(4) means that you can concatenate 4 layers to that point. If you look into the flow diagram mentioned <h...

Importing Googlenet into convolutional autoencoder

depthConcatenationLayer(4) means that you can concatenate 4 layers to that point. If you look into the flow diagram mentioned <h...

7 months ago | 0

Answered

Error using speech2text

The Azure Speech API is part of Cognitive Services and requires subscription keys. Generate the key from Azure and save it to 'M...

Error using speech2text

The Azure Speech API is part of Cognitive Services and requires subscription keys. Generate the key from Azure and save it to 'M...

7 months ago | 0

Answered

I wonder how to plot complex function

Have a look at the following code: f = @(z) 2/(z-1); %defining the function f z = linspace(-10,10,1000); %1000 evenly sp...

I wonder how to plot complex function

Have a look at the following code: f = @(z) 2/(z-1); %defining the function f z = linspace(-10,10,1000); %1000 evenly sp...

7 months ago | 0

Answered

How can I use a variable in Quiver?

The above quiver command doesn't seem to be valid as the dimension of the first argument must be equal to that of the third and ...

How can I use a variable in Quiver?

The above quiver command doesn't seem to be valid as the dimension of the first argument must be equal to that of the third and ...

7 months ago | 0

Answered

how to solve hyperbolic partial differential equation in matlab? The image i attached is an ion momentum equation in plasma B= magnetic field, φ = electric potential, u = ion velocity, m = mass of ion.

You can use either 'hyperbolic' function or 'solvepde' function to solve a hyperbolic partial differential equation. However,...

how to solve hyperbolic partial differential equation in matlab? The image i attached is an ion momentum equation in plasma B= magnetic field, φ = electric potential, u = ion velocity, m = mass of ion.

You can use either 'hyperbolic' function or 'solvepde' function to solve a hyperbolic partial differential equation. However,...

7 months ago | 0

| accepted

Answered

Matlab Function block(Creaed from Simulink) calling an .m script

There is an easier way to write a few lines of code that needs to be run before the simulation starts. Go to Model Properties > ...

Matlab Function block(Creaed from Simulink) calling an .m script

There is an easier way to write a few lines of code that needs to be run before the simulation starts. Go to Model Properties > ...

7 months ago | 0

Answered

How to fit a line through all tops of a graph?

In order to find the local maxima, there is a function by the name 'findpeaks'. Refer to the link below for the documentation: ...

How to fit a line through all tops of a graph?

In order to find the local maxima, there is a function by the name 'findpeaks'. Refer to the link below for the documentation: ...

7 months ago | 0

Answered

How to check independence assumption for Naive Bayes?

For a 2-dimensional matrix, if the determinant is zero, then at least two rows or two columns are linearly dependent. You can...

How to check independence assumption for Naive Bayes?

For a 2-dimensional matrix, if the determinant is zero, then at least two rows or two columns are linearly dependent. You can...

7 months ago | 0

| accepted

Answered

how to crate an animated histogram

You can use a combination of for loop, pause and drawnow. For example, figure(); x=[0 1]; for i = 1:10 ...

how to crate an animated histogram

You can use a combination of for loop, pause and drawnow. For example, figure(); x=[0 1]; for i = 1:10 ...

7 months ago | 0

Answered

xlswrite in office 365

Check you have enough privileges in the directory you are currently in. Check if you have permission isn't limited to 'Read Only...

xlswrite in office 365

Check you have enough privileges in the directory you are currently in. Check if you have permission isn't limited to 'Read Only...

7 months ago | 0

Answered

Hi everyone! I'm trying to implement a function that simulate the behavior of a sound level meter. In particular I need to know all the mathematical passages that a sound level meter performs! thank you

Hey Carlo, Have a look at a file exchange submission by Douglas Lanman below. This should be a good start for you. You can mo...

Hi everyone! I'm trying to implement a function that simulate the behavior of a sound level meter. In particular I need to know all the mathematical passages that a sound level meter performs! thank you

Hey Carlo, Have a look at a file exchange submission by Douglas Lanman below. This should be a good start for you. You can mo...

7 months ago | 0

Answered

migratePref.txt problem

Try renaming the file C:\Users\BrendanM\AppData\Roaming\MathWorks\MATLAB\R2018a\matlabprefs.mat to something else and try again....

migratePref.txt problem

Try renaming the file C:\Users\BrendanM\AppData\Roaming\MathWorks\MATLAB\R2018a\matlabprefs.mat to something else and try again....

7 months ago | 0

| accepted

Answered

Does simple Convolutional Neural Network learn features with only one class?

Yes, simple convolution neural networks do learn features with only one class. When there exist only one class, the problem is e...

Does simple Convolutional Neural Network learn features with only one class?

Yes, simple convolution neural networks do learn features with only one class. When there exist only one class, the problem is e...

7 months ago | 0

| accepted

Answered

Parpool errors on SLURM computing system

Hey Caleb, I understand that you haven't made any changes to the preference settings. In that case, it could mean that the MA...

Parpool errors on SLURM computing system

Hey Caleb, I understand that you haven't made any changes to the preference settings. In that case, it could mean that the MA...

8 months ago | 0

Answered

Parpool errors on SLURM computing system

Hey Caleb, It is possible that one or more of the workers never managed to fully start. This may have been caused by certain ...

Parpool errors on SLURM computing system

Hey Caleb, It is possible that one or more of the workers never managed to fully start. This may have been caused by certain ...

8 months ago | 0

Answered

ODE45 to solve a complicated problem

Hey Meredith, Try to define the initial condition (h0), time interval between which you are trying to solve the ODE (tspan) f...

ODE45 to solve a complicated problem

Hey Meredith, Try to define the initial condition (h0), time interval between which you are trying to solve the ODE (tspan) f...

8 months ago | 0

Answered

MATLAB has encountered an internal error and needs to close in matlab2018a on RHEL7

Hi Tiziana, Based on the crash report, I believe that this is due to a bug in MATLAB R2018a while running on certain Linux ma...

MATLAB has encountered an internal error and needs to close in matlab2018a on RHEL7

Hi Tiziana, Based on the crash report, I believe that this is due to a bug in MATLAB R2018a while running on certain Linux ma...

9 months ago | 0

Answered

image as CNN output matlab

Hey Tidia, I understand that you want to use an image as the input to your network and get an output which is an image. What ...

image as CNN output matlab

Hey Tidia, I understand that you want to use an image as the input to your network and get an output which is an image. What ...

9 months ago | 0