I am an Application Support Engineer 2, Engineering Development Group at MathWorks.

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

Answered

Gaussian Peaks in Plotted Data

You may refer to the below links https://www.mathworks.com/matlabcentral/answers/411391-fitting-gaussian-to-a-curve-with-multip...

Gaussian Peaks in Plotted Data

You may refer to the below links https://www.mathworks.com/matlabcentral/answers/411391-fitting-gaussian-to-a-curve-with-multip...

1 month ago | 0

| accepted

Answered

Are Epochs, Learning rate and Hidden units related to each other?

Epochs, Learning rate and Hidden Units are not dependent on one other but they individually effect the output of the model.

Are Epochs, Learning rate and Hidden units related to each other?

Epochs, Learning rate and Hidden Units are not dependent on one other but they individually effect the output of the model.

1 month ago | 0

| accepted

Answered

How can I convert this table to a cell array as shown in the screenshot?

Use the following commands T = readtable('filename.csv') c{1} = T{T.id==1,'measure'} c{2} = T{T.id==2,'measure'}

How can I convert this table to a cell array as shown in the screenshot?

Use the following commands T = readtable('filename.csv') c{1} = T{T.id==1,'measure'} c{2} = T{T.id==2,'measure'}

1 month ago | 0

Answered

How to write a summation with index vector in the objective function?

I am assuming gamma_hat_0to be vector, Z to be a matrix and Zi be a vector of equal size to gamma_hat_0. I am assuming a to be c...

How to write a summation with index vector in the objective function?

I am assuming gamma_hat_0to be vector, Z to be a matrix and Zi be a vector of equal size to gamma_hat_0. I am assuming a to be c...

1 month ago | 0

Answered

Surface Plot for Basic Reproductive Number of Ross , Macdonald Malaria model

You can use the following code [mu2,a] =meshgrid(0.1:0.01:0.5,0.01:0.001:0.03); b =0.5; c=0.5; m=20; r=0.01; Ro = (m.*a.^...

Surface Plot for Basic Reproductive Number of Ross , Macdonald Malaria model

You can use the following code [mu2,a] =meshgrid(0.1:0.01:0.5,0.01:0.001:0.03); b =0.5; c=0.5; m=20; r=0.01; Ro = (m.*a.^...

2 months ago | 1

| accepted

Answered

ssc function not working

I guess the issue is with the name of the example. The correct name of the example is ‘’ssc_mass_spring_damper_sl’’.

ssc function not working

I guess the issue is with the name of the example. The correct name of the example is ‘’ssc_mass_spring_damper_sl’’.

2 months ago | 0

Answered

matrix definition through indivisual call

To solve a system of linear equations you can use Symbolic Math Toolbox. Refer to below Link https://www.mathworks.com/help/sym...

matrix definition through indivisual call

To solve a system of linear equations you can use Symbolic Math Toolbox. Refer to below Link https://www.mathworks.com/help/sym...

2 months ago | 0

Answered

How can I use an ode45 solution in matlab curve fitting toolbox?

The output of the isqcurvefit can be stored in the variables. You can use these variables in the Curve Fitting Toolbox. It would...

How can I use an ode45 solution in matlab curve fitting toolbox?

The output of the isqcurvefit can be stored in the variables. You can use these variables in the Curve Fitting Toolbox. It would...

2 months ago | 0

| accepted

Answered

Difference between using Report Explorer app and report generation using Report & DOM APIs.

The Report Generator DOM API is a new way of creating custom reports. It is more powerful than the old Report Explorer App and d...

Difference between using Report Explorer app and report generation using Report & DOM APIs.

The Report Generator DOM API is a new way of creating custom reports. It is more powerful than the old Report Explorer App and d...

2 months ago | 1

| accepted

Answered

niftiwrite changes the axis of 3D images

Refer the below links to view the .nii images. https://www.mathworks.com/matlabcentral/fileexchange/8797-tools-for-nifti-and-an...

niftiwrite changes the axis of 3D images

Refer the below links to view the .nii images. https://www.mathworks.com/matlabcentral/fileexchange/8797-tools-for-nifti-and-an...

2 months ago | 0

Answered

When trying to use the Bar function it is saying it cannot find the newplot.m function

Here is similar question you can refer to https://www.mathworks.com/matlabcentral/answers/445645-error-using-plot-undefined-fu...

When trying to use the Bar function it is saying it cannot find the newplot.m function

Here is similar question you can refer to https://www.mathworks.com/matlabcentral/answers/445645-error-using-plot-undefined-fu...

2 months ago | 0

Answered

SIMULINK is possible to make .exe file?

Use slbuild function for generating the executable files from simulink. Refer follow the below link https://www.mathworks.co...

SIMULINK is possible to make .exe file?

Use slbuild function for generating the executable files from simulink. Refer follow the below link https://www.mathworks.co...

2 months ago | 0

Answered

Zoom and WindowScrollWheel callback not working together on App Designer

It is possible to run both Zoom and Callback together on App Designer . There is no need of zoom(app.UIAxes, 'on') statement. ...

Zoom and WindowScrollWheel callback not working together on App Designer

It is possible to run both Zoom and Callback together on App Designer . There is no need of zoom(app.UIAxes, 'on') statement. ...

2 months ago | 0

Solved

Making change

Given an amount of currency, return a vector of this form: [100 50 20 10 5 2 1 0.5 0.25 0.1 0.05 0.01] Example: Input a = ...

6 months ago

Solved

Interpolator

You have a two vectors, a and b. They are monotonic and the same length. Given a value, va, where va is between a(1) and a(end...

6 months ago

Solved

Binary numbers

Given a positive, scalar integer n, create a (2^n)-by-n double-precision matrix containing the binary numbers from 0 through 2^n...

6 months ago

Solved

Indexed Probability Table

This question was inspired by a Stack Overflow question forwarded to me by Matt Simoneau. Given a vector x, make an indexed pro...

6 months ago

Solved

Pattern matching

Given a matrix, m-by-n, find all the rows that have the same "increase, decrease, or stay same" pattern going across the columns...

6 months ago

Solved

Test for balanced parentheses

Given the input inStr, give the boolean output out indicating whether all the parentheses are balanced. Examples: * If ...

6 months ago

Solved

Who Has the Most Change?

You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...

6 months ago

Solved

Remove all the consonants

Remove all the consonants in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill'; Output s2 is 'a ...

6 months ago

Solved

Nearest Numbers

Given a row vector of numbers, find the indices of the two nearest numbers. Examples: [index1 index2] = nearestNumbers([2 5 3...

6 months ago

Solved

Create times-tables

At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

6 months ago

Solved

Remove any row in which a NaN appears

Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...

6 months ago

Solved

Which values occur exactly three times?

Return a list of all values (sorted smallest to largest) that appear exactly three times in the input vector x. So if x = [1 2...

7 months ago

Solved

Sums with Excluded Digits

Add all the integers from 1 to n in which the digit m does not appear. m will always be a single digit integer from 0 to 9. no...

7 months ago

Solved

Counting Money

Add the numbers given in the cell array of strings. The strings represent amounts of money using this notation: $99,999.99. E...

7 months ago

Solved

Find the longest sequence of 1's in a binary sequence.

Given a string such as s = '011110010000000100010111' find the length of the longest string of consecutive 1's. In this examp...

7 months ago

Solved

Return a list sorted by number of occurrences

Given a vector x, return a vector y of the unique values in x sorted by the number of occurrences in x. Ties are resolved by a ...

7 months ago

Solved

Target sorting

Sort the given list of numbers |a| according to how far away each element is from the target value |t|. The result should return...

7 months ago