# Sarvesh Kale

I am an Application Support Engineer at MathWorks. DISCLAIMER: Any advice or opinions here are my own, and in no way reflect that of MathWorks

**Programming Languages:**

Python, C, MATLAB, Arduino, Assembly, VHDL

**Spoken Languages:**

English, Hindi, Marathi

**Professional Interests:**

MATLAB, Simulink, Signal Processing

**Statistics**

RANK**598**

of 284 743

REPUTATION**114**

CONTRIBUTIONS

**0** Questions

**76** Answers

ANSWER ACCEPTANCE **
0.00%
**

VOTES RECEIVED**13**

RANK

of 19 227

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Plot function suddenly not working (getting error: Index in position 1 is invalid. Array indices must be positive integers or logical values.) Even for MATLAB examples

Hi Gabrielle, Could you please avoid using "IMU" as the name for the imuSensor object since "IMU" is a reserved name in MATLAB...

5 månader ago | 0

I can't install add-ons

Hi Henintsoa, You can try clicking on the provided MATLAB Answer link in the error message to potentially find a solution to t...

5 månader ago | 1

How can I download signal builder?

Hi Merve Ala, As per my understanding you are using the MATLAB version R2023a which is the latest while answering the post, the...

8 månader ago | 0

How to play multiple sound simultaneously in App Designer

Hi Mo, You might find the following Matlab answer useful https://in.mathworks.com/matlabcentral/answers/28602-how-do-you-pla...

8 månader ago | 0

Ask to generate HDL code of Sigma-delta ADC

Hi Kyungmin Kyungmin, I have to following hints at resolving the errors Let us concentrate on error 2 first since that is sim...

8 månader ago | 0

| accepted

How to change ramp rate of the signal multiple times during simulation ?

Hi Elisa Konttila, You can use the signal builder block or the signal editor block to change the ramp rate of the signal in a ...

8 månader ago | 0

Discrete_time function

you can solve this using the following I am assuming that u(n) is a step function in discrete domain y0 = 1 ; y = y0 ; xn ...

8 månader ago | 0

Plotting lines with patch and transparency

Hi Benjamin Pehlivanlar, You might find the following matlab answer useful https://in.mathworks.com/matlabcentral/answers/190...

9 månader ago | 0

How to combine two vectors column-by-column?

Hi Jake, You can see the following code snippet A = [1,3,5,7,9,11,13,15]; B = [2,4,6,8,10,12,14,16]; C=[A;B] % row wise conc...

9 månader ago | 0

Integration of sine wave for a time period and resetting the initial condition.

Hi TDR, A probable solution can be to set the sample time of the discrete integrator block to a value such that the Nyquist cr...

9 månader ago | 0

trying to find the differentiation of giving data

Hi Abdur Rob, You might want to take a look at documentation of diff and gradient. There are also examples that demonstrates h...

9 månader ago | 0

using linmod for linearisation

Hi Ebraheem Menda, More information on how to use linmod is found here. There is also an example listed which demonstrates how...

9 månader ago | 0

How to use sequentialfs in regression?

Hi azarang asadi, The documentation link to the sequentialfs function is attached here. There is also an example that demonstr...

9 månader ago | 0

Simulink PID tuning error

Hi Mirna Ali, I have made some changes to your simulink model, one suggestion is that do not name your slx files as names of st...

9 månader ago | 0

How to trim start and end of time series data?

Hi Haya Ali , If you only want the reconstructed signal to start from 100th index to 200 index juts use indexing for that, from...

9 månader ago | 0

Convert time format from Julian calendar (days since 1950-01-01 00:00:00 UTC) to normal/gregorian calendar (YYYY-MM-DD hh:mm:ss)

Hi Carlotta, You might find the link to the post useful https://in.mathworks.com/matlabcentral/answers/1303-convert-julian-date...

9 månader ago | 0

readmatrix ignores the first line of the data file

Hi Jake, You can open the text file in notepad and insert some text that best describes your data on the first line, from seco...

9 månader ago | 1

Programme for circle parameters calculation

Hi Francis Adams Kwofie, please refer the following code function [Area,circumference,diameter] = calculate(radius) Area...

9 månader ago | 0

Is it possible to zip a list of files over ftp?

Hi Thomas Kurian, See if the following documentation helps, zip function matlab document . mget function in matlab. Example co...

9 månader ago | 0

displaying text before answer

Hi Birce Irmak, refer to the following code x = 3.14 ; fprintf("The value of pi is %f \n",x); % this will print the answer ...

9 månader ago | 0

solve not returning answers

Hi RH, I think you have to index into the answer since the ans variable is a struct, try the following syms a b; eq1=2==cos(...

9 månader ago | 1

| accepted

Specify thickness for dipole antenna simulation

Hi Angel Lozada, When you design dipole cylindrical antenna, you will have two parameters as you mentioned, radius r and its t...

9 månader ago | 0

| accepted

solve the system of equations using the matrix method

Hi Connor, start by writing the equations in matrix format , a.) A = [3 1 5 ;... -1 4 0 ; ... 2 3 -1 ]; b...

9 månader ago | 0

What is the difference between Step size and Sample Time ?

Hi Anup Patil, What is Step size ? This option specifies the time increments at which the model will be simulated, generally s...

9 månader ago | 1

How to modify the veritcal position of sgtitle in a figure?

Hi KW YAN, You can insert your own title box using annotations, refer the following code figure; subplot 211 subplot 212 ...

9 månader ago | 1

| accepted

How to change font size of legend in simulink

Hi HIMANSHU BISHEN, As per my understanding the labels highlighted in red in the above image cannot be changed in size from t...

9 månader ago | 0

| accepted

Printing out all Row Operations for Reduced Row Echelon Form and Elementary Matrices

Hi Teoman, Your code written was slightly modified by me to avoid the indexing error, while coding in MATLAB, you should keep i...

9 månader ago | 0

| accepted

how to select the parts/objects in an image

Hi Aiman Zara, If you are trying to segment an image then you can do the following img=imread('peppers.png'); imageSegmente...

9 månader ago | 0

how can i find only row echelon form of a matrix? not reduced..is there any built in function?

Hi Md Refat, You might find the following link on File Exchange useful https://in.mathworks.com/matlabcentral/fileexchange/18...

9 månader ago | 0

How to rearrange a row vector into a pair wise column vector?

Hi marianne, See if the following code snippet can help you v = [1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21]; v2...

9 månader ago | 0