I'm Anish and am currently in the Engineering and Development Group at MathWorks.

During my PhD at George Mason University I focused on "Parameter estimation of nonlinear systems" with implementation using MATLAB.

My hobbies include soccer (playing, watching, analyzing!) and photography.

Professional Interests: Control Systems, Signal Processing, System Identification

Solved

Project Euler: Problem 6, Natural numbers, squares and sums.

The sum of the squares of the first ten natural numbers is, 1^2 + 2^2 + ... + 10^2 = 385 The square of the sum of the first ...

plus de 3 ans ago

Solved

Times 2 - START HERE

Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

plus de 3 ans ago

Answered

How to use yyaxis command in app designer?

It looks like the 'yyaxis' command is not supported in the App Designer, since it cannot be used with 'UIAxes'. This is the ...

How to use yyaxis command in app designer?

It looks like the 'yyaxis' command is not supported in the App Designer, since it cannot be used with 'UIAxes'. This is the ...

plus de 3 ans ago | 0

Answered

Link parts of a model to separate data dictionaries

Hi, I believe that multiple data dictionaries is not possible, unless using referenced models and dictionary referencing. ...

Link parts of a model to separate data dictionaries

Hi, I believe that multiple data dictionaries is not possible, unless using referenced models and dictionary referencing. ...

plus de 3 ans ago | 0

Answered

MATLAB startup crashes with El Capitan OS X

This might be because of the Java version that R2014b is using. Can you start MATLAB with the "-nodesktop" flag, and then check ...

MATLAB startup crashes with El Capitan OS X

This might be because of the Java version that R2014b is using. Can you start MATLAB with the "-nodesktop" flag, and then check ...

plus de 3 ans ago | 1

Answered

Suplabel Causes the Second Y Axis Data to Disappear

I am assuming you are using the following File Exchange submission for 'suplabel' : <http://in.mathworks.com/matlabcentral/fi...

Suplabel Causes the Second Y Axis Data to Disappear

I am assuming you are using the following File Exchange submission for 'suplabel' : <http://in.mathworks.com/matlabcentral/fi...

plus de 3 ans ago | 0

| accepted

Answered

Prediction of nonlinear grey-box models

I believe that the prediction step is an open-loop simulation based on the estimated model parameters in the current iteration, ...

Prediction of nonlinear grey-box models

I believe that the prediction step is an open-loop simulation based on the estimated model parameters in the current iteration, ...

plus de 3 ans ago | 0

Answered

How can you programmatically save a comparison, created through the use of slxmlcomp.compare(), to an HTML file without the use of the Matlab GUI.

Hi, Try using it with an output argument (in R2016a) : >> Edits = slxmlcomp.compare(modelname_A,modelname_B); Thi...

How can you programmatically save a comparison, created through the use of slxmlcomp.compare(), to an HTML file without the use of the Matlab GUI.

Hi, Try using it with an output argument (in R2016a) : >> Edits = slxmlcomp.compare(modelname_A,modelname_B); Thi...

plus de 3 ans ago | 0

Answered

SimMechanics Vehicle with tire ground interaction

The following demo might be of use : <http://www.mathworks.com/matlabcentral/fileexchange/45343-vehicle-model-with-delft-tyr...

SimMechanics Vehicle with tire ground interaction

The following demo might be of use : <http://www.mathworks.com/matlabcentral/fileexchange/45343-vehicle-model-with-delft-tyr...

plus de 3 ans ago | 0

Answered

How can I detect a sign change without detection of 0 holding (Simulink)

You can make use of the "Detect" blocks in the Simulink>Logic and Bit Operations library. >> web(fullfile(docroot, 'simuli...

How can I detect a sign change without detection of 0 holding (Simulink)

You can make use of the "Detect" blocks in the Simulink>Logic and Bit Operations library. >> web(fullfile(docroot, 'simuli...

plus de 3 ans ago | 0

Answered

How to create array in Simulink with MATLAB function?

Simulink does not allow dynamically changing the size (dimensions) of any signal while the simulation is running. This is becaus...

How to create array in Simulink with MATLAB function?

Simulink does not allow dynamically changing the size (dimensions) of any signal while the simulation is running. This is becaus...

plus de 3 ans ago | 1

| accepted

Answered

Calculating the speed of moving object

You can save the centroid results into a different variable at the end of every loop - 'centroids_old', and then compute the Euc...

Calculating the speed of moving object

You can save the centroid results into a different variable at the end of every loop - 'centroids_old', and then compute the Euc...

plus de 3 ans ago | 0

Answered

Defining equations with interpolant cfit model (ex. linearinterp, pchipinterp)

cfit objects do not work with inputs as symbolic variables. To work around this, you could re-write the cfit model equation usin...

Defining equations with interpolant cfit model (ex. linearinterp, pchipinterp)

cfit objects do not work with inputs as symbolic variables. To work around this, you could re-write the cfit model equation usin...

plus de 3 ans ago | 1

| accepted

Answered

Error while generating HDL code from Matlab: MATLAB for code generation only supports SumModes 'SpecifyPrecision' and 'KeepLSB' for 'MTIMES' when the size of the inputs can vary at run-time.

As the error suggests, try changing the 'Sum mode' under the advanced settings. The image shows where to set this while using th...

Error while generating HDL code from Matlab: MATLAB for code generation only supports SumModes 'SpecifyPrecision' and 'KeepLSB' for 'MTIMES' when the size of the inputs can vary at run-time.

As the error suggests, try changing the 'Sum mode' under the advanced settings. The image shows where to set this while using th...

plus de 3 ans ago | 1

| accepted

Answered

Convoluting two signals and correcting the time vector

Since the pulse signal, 'h3', is generated with a time range of -10:10, the output actually starts from n = -10. Hence the shift...

Convoluting two signals and correcting the time vector

Since the pulse signal, 'h3', is generated with a time range of -10:10, the output actually starts from n = -10. Hence the shift...

plus de 3 ans ago | 0

Answered

Display incoming data from ROS topic

If you can create a .bag file from a running ROS, you can then read it into MATLAB and extract the message data as a timeseries....

Display incoming data from ROS topic

If you can create a .bag file from a running ROS, you can then read it into MATLAB and extract the message data as a timeseries....

plus de 3 ans ago | 0

| accepted

Answered

Trouble with csvread and readtable (see attached .csv file)

You can try using the Import Tool in MATLAB. http://www.mathworks.com/help/matlab/ref/importtool-app.html Testing it on t...

Trouble with csvread and readtable (see attached .csv file)

You can try using the Import Tool in MATLAB. http://www.mathworks.com/help/matlab/ref/importtool-app.html Testing it on t...

plus de 3 ans ago | 0

Answered

How do you save the output of a processed video?

You can create a VideoWriter object, before starting the for loop and use the 'open' command. Inside the loop, you will need to ...

How do you save the output of a processed video?

You can create a VideoWriter object, before starting the for loop and use the 'open' command. Inside the loop, you will need to ...

plus de 3 ans ago | 0

| accepted

Answered

How to send data to lookup table w.r.t time step

You can import data into a Simulink model using Inports. This also allows you to define the time as well as the signal values. ...

How to send data to lookup table w.r.t time step

You can import data into a Simulink model using Inports. This also allows you to define the time as well as the signal values. ...

plus de 3 ans ago | 0

| accepted

Answered

Opening a saved fig file in R2014b is very slow when axes are linked

It looks like this might have been a reported bug, that has been fixed. You could try and check if the issue still persists in R...

Opening a saved fig file in R2014b is very slow when axes are linked

It looks like this might have been a reported bug, that has been fixed. You could try and check if the issue still persists in R...

plus de 3 ans ago | 0

| accepted

Answered

How to extend smoothingspline predictions

I cannot comment on the quality of the extension (extrapolation) of the fit, since it depends on the data. However, the 'feval' ...

How to extend smoothingspline predictions

I cannot comment on the quality of the extension (extrapolation) of the fit, since it depends on the data. However, the 'feval' ...

plus de 3 ans ago | 0

| accepted

Answered

Taylor Series matlab using partial derivatives not running

I believe that the following error is generated on executing the above code : Index exceeds matrix dimensions. Erro...

Taylor Series matlab using partial derivatives not running

I believe that the following error is generated on executing the above code : Index exceeds matrix dimensions. Erro...

plus de 3 ans ago | 0

Answered

Heun's Method not graphing right

Hi, I am assuming that when you say "The graph is running really weird", it is referring to the fact that the graph has a th...

Heun's Method not graphing right

Hi, I am assuming that when you say "The graph is running really weird", it is referring to the fact that the graph has a th...

plus de 3 ans ago | 0

Answered

How can I set 'evalclusters' function initial points?

As I understand, you are using the MATLAB function |evalclusters| to generate multiple cluster results for the same data (with d...

How can I set 'evalclusters' function initial points?

As I understand, you are using the MATLAB function |evalclusters| to generate multiple cluster results for the same data (with d...

environ 5 ans ago | 1

Answered

differential equation ode45 or other method

As I understand, you want to compute the numerical solution to a certain differential equation in MATLAB, using the ode45 or ano...

differential equation ode45 or other method

As I understand, you want to compute the numerical solution to a certain differential equation in MATLAB, using the ode45 or ano...

environ 5 ans ago | 0

Answered

Link 2 plots with different variables

As I understand, your objective is to link the data contained in two different axes such that when you zoom into one axis/figure...

Link 2 plots with different variables

As I understand, your objective is to link the data contained in two different axes such that when you zoom into one axis/figure...

environ 5 ans ago | 0

Solved

Circular Primes (based on Project Euler, problem 35)

The number, 197, is called a circular prime because all rotations of the digits: 197, 971, and 719, are themselves prime. The...

environ 5 ans ago

Solved

Right Triangle Side Lengths (Inspired by Project Euler Problem 39)

If _p_ is the perimeter of a right angle triangle with integral length sides, { _a_, _b_, _c_ }, there are exactly three solutio...

environ 5 ans ago

Solved

I've got the power! (Inspired by Project Euler problem 29)

Consider all integer combinations of a^b and b^a for the integer values 2 ≤ a ≤ 4 and 2 ≤ b ≤ 5: 2^2=4, 2^3=8, 2^4=16,...

environ 5 ans ago

Solved

Project Euler: Problem 3, Largest prime factor

The prime factors of 13195 are 5, 7, 13 and 29. What is the largest prime factor of the number being input, input might be ui...

environ 5 ans ago