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

How to Publish from App Designer with a Push Button?

Hi Florian, It is possible to use 'publish' function inside App Designer. From the error report, it appears to be that the 'A...

How to Publish from App Designer with a Push Button?

Hi Florian, It is possible to use 'publish' function inside App Designer. From the error report, it appears to be that the 'A...

5 Tage ago | 0

Answered

How can i calculate the integral for the elang loss function?

Hi Mats, It appears to be that the function 'integral' is being called with 4 arguments in the code provided above. According...

How can i calculate the integral for the elang loss function?

Hi Mats, It appears to be that the function 'integral' is being called with 4 arguments in the code provided above. According...

5 Tage ago | 0

Answered

how to change the default frequency of aurdiuno pwm block of simulink support package for aurdiuno?

Hi Shivaleela, Arduino hardware does not support changing the frequency of PWM wave. The frequency of the PWM signal on most ...

how to change the default frequency of aurdiuno pwm block of simulink support package for aurdiuno?

Hi Shivaleela, Arduino hardware does not support changing the frequency of PWM wave. The frequency of the PWM signal on most ...

5 Tage ago | 0

Answered

How can I draw the graph of the following two isoclines in Matlab?

Hi Parvaiz, A combination of 'meshgrid' and 'surf' functions may be used in order to do this. The following code snippet may ...

How can I draw the graph of the following two isoclines in Matlab?

Hi Parvaiz, A combination of 'meshgrid' and 'surf' functions may be used in order to do this. The following code snippet may ...

6 Tage ago | 0

| accepted

Answered

How to find the classification accuracy of Random Forest?

Hi MA-Winlab, Have a look at the following documentation that talks about Bootstrap Aggregation (Bagging) of Classification T...

How to find the classification accuracy of Random Forest?

Hi MA-Winlab, Have a look at the following documentation that talks about Bootstrap Aggregation (Bagging) of Classification T...

6 Tage ago | 0

Answered

How to interpolate z values using kriging? Code?

Hi Arjun, Have a look into the implementation of Kriging interpolation in the following File Exchange submission. https://ww...

How to interpolate z values using kriging? Code?

Hi Arjun, Have a look into the implementation of Kriging interpolation in the following File Exchange submission. https://ww...

6 Tage ago | 0

Answered

Two-phase fluid - Methane

Hi Alejandro As of now, there is no direct way of specifying the fuild as methane. A quick search on thermodynamic properties...

Two-phase fluid - Methane

Hi Alejandro As of now, there is no direct way of specifying the fuild as methane. A quick search on thermodynamic properties...

6 Tage ago | 0

| accepted

Answered

Beam Loading, Displacement, 3D plots, Color Spectrum, Stress and Strain

Hi Mohammad, Perhaps you could get started with our examples on doing Finite Element Analysis using Partial Differential Equati...

Beam Loading, Displacement, 3D plots, Color Spectrum, Stress and Strain

Hi Mohammad, Perhaps you could get started with our examples on doing Finite Element Analysis using Partial Differential Equati...

7 Tage ago | 0

Answered

How I can avoid alphabetical sorting of classdef property list in MATLAB doc?

Hi Saeid, Perhaps the following page on displaying custom documentation may be what you are looking for. https://www.mathworks...

How I can avoid alphabetical sorting of classdef property list in MATLAB doc?

Hi Saeid, Perhaps the following page on displaying custom documentation may be what you are looking for. https://www.mathworks...

7 Tage ago | 0

Answered

How to extract a table from a financial website (Bartchart.com)?

Hi Raphuel, You could get started with this by using the 'webread' and 'getAttribute' functions. Have a look at the following d...

How to extract a table from a financial website (Bartchart.com)?

Hi Raphuel, You could get started with this by using the 'webread' and 'getAttribute' functions. Have a look at the following d...

8 Tage ago | 0

Answered

S-function in C++

Hi Iba, I think the following documents would help you with the same: https://www.mathworks.com/help/simulink/sfg/example-of...

S-function in C++

Hi Iba, I think the following documents would help you with the same: https://www.mathworks.com/help/simulink/sfg/example-of...

8 Tage ago | 0

| accepted

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

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

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

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

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

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

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

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

6 Monate 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:/...

6 Monate 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'...

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

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

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

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

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

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

8 Monate 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,...

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

8 Monate 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: ...

8 Monate ago | 0