Community Profile

# Anish Mitra

### MathWorks

34 total contributions since 2014

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

View details...

Contributions in
View by

Feedback connection command explaination
The first 1 is the feedback system (a static gain of 1), and the last 1 is indicating positive feedback. https://www.mathworks...

7 months ago | 0

| accepted

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

4 years 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:...

4 years ago

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

4 years ago | 0

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

4 years ago | 0

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

4 years ago | 1

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

4 years ago | 0

| accepted

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

4 years ago | 0

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

4 years ago | 0

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

4 years ago | 0

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

4 years ago | 0

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

5 years ago | 1

| accepted

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

5 years ago | 0

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

5 years ago | 1

| accepted

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

5 years ago | 1

| accepted

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

5 years ago | 0

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

5 years ago | 0

| accepted

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

5 years ago | 0

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

5 years ago | 0

| accepted

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

5 years ago | 0

| accepted

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

5 years ago | 0

| accepted

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

5 years ago | 0

| accepted

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

5 years ago | 0

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

5 years ago | 0

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

6 years ago | 1

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

6 years ago | 0

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

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

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

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

6 years ago