Community Profile

# Nikhil Sonavane

### MathWorks

40 total contributions since 2019

I am an Application Support Engineer at MathWorks.

My area of interest is MATLAB and Signal Processing.

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

View details...

Contributions in
View by

Conversion to logical from sym not possible
In your code diff(fun) never reaches less than 0, hence the loop isn't executed. Also, you are comapring a symbolic variable wit...

9 días ago | 0

"Warning: Error updating Legend" when opening a saved figure as .fig
Even I could reproduce similar issue in MATLAB 2018a but it worked fine for later versions of MATLAB. I verified it for MATLAB 2...

10 días ago | 0

| accepted

binary text file transfer via serial port to FPGA
You may refer to this existing MATLAB Answer for help.

13 días ago | 0

Solving 4 equations with 4 unknowns.
You can refer to the Tips section of the documention of solve function. It states that "If solve cannot find a solution and Retu...

17 días ago | 0

Heatmap, how to put a particular condition?
You may refer to the documentation of heatmap for more details.

17 días ago | 0

Solving 4 equations with 4 unknowns.
Can you share S1, S2 and S3 matrices which you are using?

17 días ago | 0

Tilted circle in 3D mesh

17 días ago | 0

how can i zero pad of an image(vein) to make it look like a cylinder
If you have the Image Processing ToolBox you can use the function PADARRAY. For example if I wanted to pad 2 zeroes around the m...

18 días ago | 0

How to model tapped windings in Simscape?
You can refer to the documentation of Multi-Winding Transformer block which gives a detailed explanation about tapped transforme...

18 días ago | 0

EdgeAlpha for bar plot
The output of the mean function which you are using to calculate mean of matrix y is a vector, not a matrix. The function bar re...

18 días ago | 0

Counting the number of objects in an image based on colour
You may refer to this documentation for further details and modify the code according to your need

21 días ago | 0

| accepted

how can I calculate the current simulation time
Can you explain the question in a more detailed manner and also attach a better resolution image

21 días ago | 0

There is no such block which directly divides an analog frequency. You need to design an analog frequency divider circuit. One s...

alrededor de 2 meses ago | 0

The Matrix Block used isn't giving desired results as the Sum over field is not configured properly. Change the Sum over field t...

alrededor de 2 meses ago | 0

plot errorbars on graph for selected points
You can use a for loop to scan your data and neglect data whose standard deviation is zero for plotting error bars.

alrededor de 2 meses ago | 0

How to make a automatic image processing filter?
MATLAB has filters to enhance specific features of an image and you can use these filters as per your need and image. A single f...

alrededor de 2 meses ago | 0

Impulse response function for non-stationary time domain signal
The concept of frequency response from input and output by using convolution in time domain and multiplication in frequency doma...

3 meses ago | 0

Filter designer Gaussian Window does not apply specified cut off frequencies
As it is a FIR Filter, the order of the filter needs to be large enough to give desired results. Try increasing the order of the...

3 meses ago | 0

Combine vectors of different dimensions to a table
You can try padding the arrays with 0 or NaN so that all arrays are of same size and the combine them as required

3 meses ago | 0

How can I design such this Digital Filter using MALAB not simulink?
You can use the Filter Designer app in MATLAB. You can refer to this link for more information.

4 meses ago | 0

| accepted

Further filtering of accelerometer data
After looking at the Fourier Transform (figure attached) of your input data it can be concluded that it majorly comprises of fre...

4 meses ago | 0

The purpose of that cyclic load is to show that the controller is able to regulate the output voltage at its set point while the...

5 meses ago | 0

| accepted

Can we calculate the roots of polynomials with matrix coefficients?
You can use solve function to solve the system of equation in two variables. You may refer to its documentation for more informa...

5 meses ago | 1

Comparison between elements of matrix of different data type
The way floating points are allocated in the memory is very different as compared to integers. Hence, the algorithm used for com...

6 meses ago | 0

reducing noise to calculate peak amplitude
You can compute the Short Time Fourier Transform of the entire signal. If you observe that there is an increase in the peak leve...

6 meses ago | 0

simscape example Model an Isothermal Hydraulic Actuator
Actuators are generally used to control the position of directional values. Its output will not be a sine wave even if a sine wa...

6 meses ago | 0

| accepted

smoothness of a data based on previous dataset
Using a for loop may help you solve the problem. You may refer to the Documentation of for loop.

6 meses ago | 1

| accepted

Internal heat source PDE
The unit of heatSourceValue in internalHeatSource is W/m3. You can refer Page No. 5-214 of Partial Differential Equation User’s ...

6 meses ago | 0

| accepted