Application Support Engineer

MathWorks India Pvt Ltd.

Professional Interests: Signal Processing, Maths

Answered

How to use the steepest descent method to solve a function.

Hello, The below code snippet solves this problem using the "Gradient Descend Algorithm" clc; clear; f=@(x...

How to use the steepest descent method to solve a function.

Hello, The below code snippet solves this problem using the "Gradient Descend Algorithm" clc; clear; f=@(x...

5 years ago | 0

Answered

Installed Matlab Compiler, but there is no "Application Compiler" app under the apps toolbox

Hi Andrew, Has MATLAB Compiler been installed correctly? What does the following command return? license('checkout','Com...

Installed Matlab Compiler, but there is no "Application Compiler" app under the apps toolbox

Hi Andrew, Has MATLAB Compiler been installed correctly? What does the following command return? license('checkout','Com...

5 years ago | 1

Answered

I have a problem with opening own simulink files

Hello Christoph, 1) In which location have you installed MATLAB 8.4 (R2014b)? It is on a permanent drive or on any mounted dr...

I have a problem with opening own simulink files

Hello Christoph, 1) In which location have you installed MATLAB 8.4 (R2014b)? It is on a permanent drive or on any mounted dr...

5 years ago | 0

Answered

Prediction by using newff ?

Hello, If I understand your question correctly, you would like to know how you can compute the output when an input is applie...

Prediction by using newff ?

Hello, If I understand your question correctly, you would like to know how you can compute the output when an input is applie...

5 years ago | 1

| accepted

Answered

adding multiple arrows with latex in a plot

Hi Meva, I am not sure if I understand your question completely. Are you wanting to add a "textarrow" annotation object to ...

adding multiple arrows with latex in a plot

Hi Meva, I am not sure if I understand your question completely. Are you wanting to add a "textarrow" annotation object to ...

5 years ago | 1

Answered

Problem with GUIDE based app and R2015a

Hi Joseph, How are you launching your MATLAB App?. Are you observing this error even when launching the App from the command ...

Problem with GUIDE based app and R2015a

Hi Joseph, How are you launching your MATLAB App?. Are you observing this error even when launching the App from the command ...

5 years ago | 0

Answered

Rescaling and extending the axes of compass plots

Hi Lawrence, You could have both the "compass graphs" to be of same size by having the "axes" that contains these "compass gr...

Rescaling and extending the axes of compass plots

Hi Lawrence, You could have both the "compass graphs" to be of same size by having the "axes" that contains these "compass gr...

5 years ago | 0

Answered

How to create list of checkboxes and plot checked boxes

Hi Florian, I have a few suggestions for you regarding this question 1) You could have the "plot" and "delete" operations...

How to create list of checkboxes and plot checked boxes

Hi Florian, I have a few suggestions for you regarding this question 1) You could have the "plot" and "delete" operations...

5 years ago | 0

Answered

Mux to Bus error message

Hi Matthew, To avoid this error please navigate to Model Configuration Parameters (Ctrl+E) >> Diagnostics >> Connectivit...

Mux to Bus error message

Hi Matthew, To avoid this error please navigate to Model Configuration Parameters (Ctrl+E) >> Diagnostics >> Connectivit...

5 years ago | 6

| accepted

Answered

Calculating the entropy of a discrete memoryless source?

Hello Daniel, You could write the script for the same as follows 1) Create a function, say "esingle" that computes the "en...

Calculating the entropy of a discrete memoryless source?

Hello Daniel, You could write the script for the same as follows 1) Create a function, say "esingle" that computes the "en...

5 years ago | 0

Answered

How to create neural networks with multiple hidden layers (two hidden layers) using nnstart?

Hello Tharindu, It seems it is not possible to create a Pattern recognition network with multiple hidden layers while using t...

How to create neural networks with multiple hidden layers (two hidden layers) using nnstart?

Hello Tharindu, It seems it is not possible to create a Pattern recognition network with multiple hidden layers while using t...

5 years ago | 13

| accepted

Answered

boxplot function not working

The "boxplot" function is a part of the "Statistics Toolbox". Do you have "Statistics Toolbox" installed? You could check the...

boxplot function not working

The "boxplot" function is a part of the "Statistics Toolbox". Do you have "Statistics Toolbox" installed? You could check the...

6 years ago | 1

Answered

getparam/setparam command for Tapped Delay block

Only the "Initial Condition:" parameter of a "Tapped Delay" block is "tunable" and hence can be changed during simulation. Pl...

getparam/setparam command for Tapped Delay block

Only the "Initial Condition:" parameter of a "Tapped Delay" block is "tunable" and hence can be changed during simulation. Pl...

6 years ago | 0

| accepted

Answered

How to suppress axis labels in probplot

You could do this by setting the "axes" properties appropriately. For example, please see the code snippet below in which the "X...

How to suppress axis labels in probplot

You could do this by setting the "axes" properties appropriately. For example, please see the code snippet below in which the "X...

6 years ago | 0

Answered

How to shrink each figure inside a subplot ?

You could achieve this by modifying the "Position" (or "OuterPosition") property for each of the five individual "axes". For ...

How to shrink each figure inside a subplot ?

You could achieve this by modifying the "Position" (or "OuterPosition") property for each of the five individual "axes". For ...

6 years ago | 0

| accepted

Answered

How do I find out the number of neurons in layers?

You could do this by querying the "size" property of each of the individual neural network layers. For example, please see the c...

How do I find out the number of neurons in layers?

You could do this by querying the "size" property of each of the individual neural network layers. For example, please see the c...

6 years ago | 0

Answered

How to include '-nojvm' into compiler command line in Matlab?

While using "deploytool", you can pass additional parameters to "mcc" command by first going to "Settings" (in "deploytool" wind...

How to include '-nojvm' into compiler command line in Matlab?

While using "deploytool", you can pass additional parameters to "mcc" command by first going to "Settings" (in "deploytool" wind...

6 years ago | 0

Answered

Theoretical: Why use trapz to calculate absolute power?

The "pwelch" function returns the power spectral density (PSD) estimate. To compute the power contained in a frequency range, th...

Theoretical: Why use trapz to calculate absolute power?

The "pwelch" function returns the power spectral density (PSD) estimate. To compute the power contained in a frequency range, th...

6 years ago | 0

Answered

How to add more than one hidden layer?

Yes, it is possible to create a "feedforward neural network" with three hidden layers using the "feedforwardnet" function. This ...

How to add more than one hidden layer?

Yes, it is possible to create a "feedforward neural network" with three hidden layers using the "feedforwardnet" function. This ...

6 years ago | 3

| accepted

Answered

how to read data from a .mat file

You could use the "load" command to read data stored in a MAT file. >> load Ey1a.mat The "dlmread" function is used for ...

how to read data from a .mat file

You could use the "load" command to read data stored in a MAT file. >> load Ey1a.mat The "dlmread" function is used for ...

6 years ago | 1

Answered

Maximum Likelihood Estimation for function with several variables

I understand that you would like to find the points where a function attains its maximum value. The ‘fminunc’ function in Opt...

Maximum Likelihood Estimation for function with several variables

I understand that you would like to find the points where a function attains its maximum value. The ‘fminunc’ function in Opt...

6 years ago | 2

Solved

Number of problems

No, you don't read it wrong: this assignment is to return the number of this problem (and not the problem of this number).

6 years ago

Solved

calculate linear convolution two vectors

for e.g in: a = [1 2 3] b = [4 5 6] out: y = [4 13 28 27 18]

6 years ago

Solved

Convert Fahrenheit to Celsius

Calculate the Celsius temperature C given the Fahrenheit temperature F. Examples: Input F = 90 Output C is 32.22 I...

6 years ago

Solved

Find the square of the sum of the digits of a number

If a number (n) is provided as an input, find the square of the sum of the digits of the number. Example If n = 21, the an...

6 years ago

Solved

Reverse the input

Given an input (n), produce an output in the reverse order with out using string variables or string function. Example x ...

6 years ago

Solved

Is My Wife Wrong?

Answer the question. (see also <http://www.mathworks.com/matlabcentral/cody/problems/149-is-my-wife-right Problem 149: Is my ...

6 years ago