Community Profile # Anish Mitra

### MathWorks

Last seen: ungefär en månad ago Active since 2014

#### Statistics

All
• • • • #### Content Feed

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

mer än ett år 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 ...

mer än 5 år 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:...

mer än 5 år 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 ...

mer än 5 år 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. ...

mer än 5 år 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 ...

mer än 5 år 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...

mer än 5 år 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, ...

mer än 5 år 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...

mer än 5 år 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...

mer än 5 år 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...

mer än 5 år 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...

mer än 5 år 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...

mer än 5 år 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...

mer än 5 år 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...

mer än 5 år 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...

mer än 5 år 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....

mer än 5 år 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...

mer än 5 år 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 ...

mer än 5 år 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. ...

mer än 5 år 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...

mer än 5 år 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' ...

mer än 5 år 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...

mer än 5 år 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...

mer än 5 år 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...

ungefär 7 år ago | 2

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

ungefär 7 år 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...

ungefär 7 år 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...

ungefär 7 år 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...

ungefär 7 år 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,...

ungefär 7 år ago