Community Profile

photo

Sarvesh Kale

Last seen: 2 months ago Active since 2022

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

All
  • Knowledgeable Level 4
  • 6 Month Streak
  • First Answer
  • Community Group Solver
  • Solver

View badges

Content Feed

View by

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

2 months ago | 0

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

2 months ago | 1

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

6 months ago | 0

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

6 months ago | 0

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

6 months ago | 0

| accepted

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

6 months ago | 0

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

6 months ago | 0

Answered
Plotting lines with patch and transparency
Hi Benjamin Pehlivanlar, You might find the following matlab answer useful https://in.mathworks.com/matlabcentral/answers/190...

7 months ago | 0

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

7 months ago | 0

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

7 months ago | 0

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

7 months ago | 0

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

7 months ago | 0

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

7 months ago | 0

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

7 months ago | 0

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

7 months ago | 0

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

7 months ago | 0

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

7 months ago | 1

Answered
Programme for circle parameters calculation
Hi Francis Adams Kwofie, please refer the following code function [Area,circumference,diameter] = calculate(radius) Area...

7 months ago | 0

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

7 months ago | 0

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

7 months ago | 0

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

7 months ago | 1

| accepted

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

7 months ago | 0

| accepted

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

7 months ago | 0

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

7 months ago | 0

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

7 months ago | 0

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

7 months ago | 0

| accepted

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

7 months ago | 0

| accepted

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

7 months ago | 0

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

7 months ago | 0

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

7 months ago | 0

Load more