I am an engineer at MathWorks with an academic background in Mechanical Engineering.

My professional interests include working on MATLAB and Simulink, Classical Mechanics, Physical Modeling, Control System Engineering, and Robotics.

Answered

How do I obtain prediction scores for all 1000 categories as a second output from "classify" in the Deep Learning Onramp tutorial?

You can refer to the following documentation to get the scores for a set of images: <https://in.mathworks.com/help/nnet/ref/cla...

How do I obtain prediction scores for all 1000 categories as a second output from "classify" in the Deep Learning Onramp tutorial?

You can refer to the following documentation to get the scores for a set of images: <https://in.mathworks.com/help/nnet/ref/cla...

3 years ago | 0

Answered

Trouble solving algebraic equations in differential-algebraic system. Can anybody help me with this?

Hi, Your model may have some algebraic loops. One of the algebraic loops that I can see in your model is feedback signal from...

Trouble solving algebraic equations in differential-algebraic system. Can anybody help me with this?

Hi, Your model may have some algebraic loops. One of the algebraic loops that I can see in your model is feedback signal from...

3 years ago | 0

Answered

how to remove noise from audio using fourier transform and filter and to obtain back the original audio signal

Hi, The following documentation demonstrates discarding noise from the data using 'fft': <https://in.mathworks.com/help/matl...

how to remove noise from audio using fourier transform and filter and to obtain back the original audio signal

Hi, The following documentation demonstrates discarding noise from the data using 'fft': <https://in.mathworks.com/help/matl...

3 years ago | 0

Answered

Bode plot of butter filter's transfer function has wrong Module axis scale

Hi, The Bode plot is showing the correct magnitude-phase plot. However, in Bode plot, the magnitude axes is in dB. The DC gai...

Bode plot of butter filter's transfer function has wrong Module axis scale

Hi, The Bode plot is showing the correct magnitude-phase plot. However, in Bode plot, the magnitude axes is in dB. The DC gai...

3 years ago | 0

Answered

Warning: Derivative finite differencing was artificially reduced to be within bound constraints

Hi Tejas, This error may occur if you have tolerances that are implausible for the order of magnitude of the data and becaus...

Warning: Derivative finite differencing was artificially reduced to be within bound constraints

Hi Tejas, This error may occur if you have tolerances that are implausible for the order of magnitude of the data and becaus...

3 years ago | 0

Answered

Singularity error - Simulink

Hi, The singularity issues occur due to model instabilities. Instabilities may occur in a model due to a wide variety of reas...

Singularity error - Simulink

Hi, The singularity issues occur due to model instabilities. Instabilities may occur in a model due to a wide variety of reas...

3 years ago | 0

Answered

solving for x in a state space model

I have attached here a model 'Sample_Model.slx' which can solve the above differential equation. I have used dummy values for ma...

solving for x in a state space model

I have attached here a model 'Sample_Model.slx' which can solve the above differential equation. I have used dummy values for ma...

3 years ago | 0

Answered

Simscape model run time/failure

The error that you are encountering usually occurs when the solution is unbounded. Perhaps that is why it is taking too long in ...

Simscape model run time/failure

The error that you are encountering usually occurs when the solution is unbounded. Perhaps that is why it is taking too long in ...

3 years ago | 0

Answered

Is it possible in Simulink for Fixed step discrete simulations (lets say it does 10 iterations) to save a variable only after conditions are met, so that output var has variable size (any size between 0 and 10)?

The triggered subsystems may help you in this. These subsystems are executed only when its activation condition is satisfied. Yo...

Is it possible in Simulink for Fixed step discrete simulations (lets say it does 10 iterations) to save a variable only after conditions are met, so that output var has variable size (any size between 0 and 10)?

The triggered subsystems may help you in this. These subsystems are executed only when its activation condition is satisfied. Yo...

3 years ago | 0

Answered

Is it possible to view the source code for the E-NTU heat exchanger in simscape?

No, it is not possible to view the source code of these Simscape libraries; you can only view the source code of Simscape Founda...

Is it possible to view the source code for the E-NTU heat exchanger in simscape?

No, it is not possible to view the source code of these Simscape libraries; you can only view the source code of Simscape Founda...

3 years ago | 0

Answered

Individual input/output response in Simulink

Yes, you can analyze the effects of a specific input on an output. In Simulink, you can use Linear System Analyzer Tool. Alt...

Individual input/output response in Simulink

Yes, you can analyze the effects of a specific input on an output. In Simulink, you can use Linear System Analyzer Tool. Alt...

3 years ago | 0

Answered

sigma function plot of an unstable system

Hi Qian, Note that sigma(TF) is an extension of bode(TF) for MIMO systems. So sigma(TF) is same as the gain plot of bode(TF)...

sigma function plot of an unstable system

Hi Qian, Note that sigma(TF) is an extension of bode(TF) for MIMO systems. So sigma(TF) is same as the gain plot of bode(TF)...

3 years ago | 0

| accepted

Answered

How can I plot 3-same-sized matrices in a polar plot ?

Have you considered 'surf' and 'surfc' commands? Convert the data you have (R, Phi, St) (where R-radius, Phi - Azimuthal ang...

How can I plot 3-same-sized matrices in a polar plot ?

Have you considered 'surf' and 'surfc' commands? Convert the data you have (R, Phi, St) (where R-radius, Phi - Azimuthal ang...

3 years ago | 0

Answered

Getting average from surf

Since you have X, Y, Z data,you do not need to depend on surf function to find out what the average height (z-coordinate) of th...

Getting average from surf

Since you have X, Y, Z data,you do not need to depend on surf function to find out what the average height (z-coordinate) of th...

3 years ago | 0

Answered

force scalar signal to be a 1D array

Currently, this is not possible in Simulink. However, one alternative to consider depending on the use case is to use a custom s...

force scalar signal to be a 1D array

Currently, this is not possible in Simulink. However, one alternative to consider depending on the use case is to use a custom s...

3 years ago | 1

Answered

What does RC parallel branch does in ECM of Li-ion Battery?

You can refer to the research papers mentioned in the following documentation for a detailed explanation: <https://www.mathwork...

What does RC parallel branch does in ECM of Li-ion Battery?

You can refer to the research papers mentioned in the following documentation for a detailed explanation: <https://www.mathwork...

3 years ago | 0

Answered

Embedded MATLAB function: Call global struct; Error: Referencing a component from array of non-scalar values is not supported for code generation.

Hi, The error "Referencing a component from array of non-scalar values is not supported for code generation" typically comes ...

Embedded MATLAB function: Call global struct; Error: Referencing a component from array of non-scalar values is not supported for code generation.

Hi, The error "Referencing a component from array of non-scalar values is not supported for code generation" typically comes ...

3 years ago | 1

Answered

Dissimilar transfer functions/state space models

Hi Rajat, Perhaps you want to check if you are following the right method to obtain the state space model from the transfer fu...

Dissimilar transfer functions/state space models

Hi Rajat, Perhaps you want to check if you are following the right method to obtain the state space model from the transfer fu...

3 years ago | 0

Answered

Optimising Throttle use for Generic Engine Block

Hello Ryan, The assertion error saying:"Engine Speed has exceeded the last value of the Speed vector parameter *** " occurs...

Optimising Throttle use for Generic Engine Block

Hello Ryan, The assertion error saying:"Engine Speed has exceeded the last value of the Speed vector parameter *** " occurs...

4 years ago | 0

| accepted

Answered

How do I plot the bode plot of this transfer function?

I understand that you would like to obtain the bode plot of a dynamic system in MATLAB. Although I did not understand the ter...

How do I plot the bode plot of this transfer function?

I understand that you would like to obtain the bode plot of a dynamic system in MATLAB. Although I did not understand the ter...

4 years ago | 0

| accepted