Community Profile

# Samatha Aleti

### MathWorks

186 total contributions since 2019

I am an Application Engineer at MathWorks. My areas of interest are Communications & 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

why isnt the function tf working
Hi, If you have the licensed product “Control Systems Toolbox”, but have not installed yet, you can do as follows: Go to M...

13 days ago | 0

How to find the period of two overlapping series of pulses ?
Hi, As per my understanding you are trying to find at what different increments(least possible) the sequence is generated. You...

13 days ago | 0

Version for your Kalman filtering examples
Hi, The example "Nonlinear State Estimation Using Unscented Kalman Filter" is available in MATLAB R2016b . To run the exampl...

13 days ago | 0

Index exceeds the number of array elements (0). Error in TPA (line 32) time_orig = time_orig - time_orig(1);can any one solve this
This Error occurs when the data entered in the ranges is not numeric. In your code, data in the “timerange” is not numeric. In...

13 days ago | 0

Steepest Ascent Method to Find Minimum - Error with syms to logical
This error occurs when comparing a numeric value and a symbolic value. In order to compare these two values, you can convert sym...

14 days ago | 0

| accepted

Using the findchangepts function on data containing NaN datapoints
You may remove NaN values from your "data" and then call “findchangepts” function with this "data". You can remove NaN values fr...

14 days ago | 0

Generating 0 and 1 from Poisson Distribution
You may generate 0,1 from Poisson Distribution using “poissrnd” function as follows: M = 10; poissrnd(0.25,1,M) Refer the ...

16 days ago | 0

How can i get corresponding value in a table?
Hi, As per my understanding, you are trying to find the corresponding “time” value of a maximum value in the timetable. You ca...

16 days ago | 0

Fmincon problem with nonlcon
Hi, This error occurs if the objective function "funfcn" returns an invalid value such as Inf or NaN or complex number etc., wh...

16 days ago | 0

Pick a value from a matrix to produce another value in a matrix, and loop it
Hi, You can generalize it by using arrays and loops as follows: H = [1 2 3 5; 4 5 6 5; 7 8 9 5]; % let a = 1; % Changin...

16 days ago | 0

fdesign.octave - Extend to frequencies below 20 Hz
Center frequencies must be greater than 20 Hz and less than 20,000 Hz. If the center frequency specified is not valid, it will b...

17 days ago | 0

The following documentation link might help: GasSystems

17 days ago | 0

How can I get the ordinal value of the most recent subplot that a user clicked (now that gca has been updated to return an object not a double)?
Hi, According to my understanding you want to obtain the ordinal values of current axes in a plot. You can do that by referrin...

17 days ago | 0

Hi, As per my understanding you want to edit the “data” generated in “Entity Generator” block. You can do this by going to “En...

1 month ago | 0

1 month ago | 0

How to change default title font in tiled layout
Hi, The issue when changing default "Interpreter" for "tiledlayout" has been brought to the notice of our developers. They wil...

1 month ago | 1

| accepted

Unable to find optimisation toolbox for MPC
Hi, If you have the licensed product “Optimization Toolbox”, but have not installed yet, you can do as follows: Go to MA...

1 month ago | 0

| accepted

Error in a code which computes sqrt(a)
You may need to initialize the variables "sqaprev", "sqa" as follows: function [sqa, nitr] = mySqrt (a) sqaprev = 0; sqa=...

1 month ago | 0

Save figure with black background and window
Hi, According to my understanding you have MATLAB figure and want to change the background color of the figure and save(preser...

1 month ago | 0

| accepted

can somebody help me to understand this cross correlation output?
Hi, In General, Cross correlation defines the similarity of signals (or vectors) as a function of a time-lag applied to one of...

1 month ago | 0

| accepted

Trying to solve for P in the equation. Been told fzero does not give correct solution.
Hi, I think you need to specify the variables as “sym” to use “solve”. You may also solve for “P” using “fsolve” function. H...

1 month ago | 0

Problem with multivariable plots
Hi, According to my understanding you are trying to plot each output “Gamma” and “Theta_z” by changing 2 inputs “tid” and “n”...

1 month ago | 0

| accepted

Sort the rows of a table based on row entries in two columns of another table
Hi, According to my understanding you are trying to arrange the table “Tright” columns in the order of table ‘”Tleft”. You c...

1 month ago | 0

| accepted

Plotting double data in Simulink Scope
Hi, You should be able to view many horizontal lines in the SIMULINK scope, provided your output vector “y” holds elements of ...

2 months ago | 0

How to convert a number in to hexa decimal in Simulink without using functions?
Hi, You may use "MATLAB function block" in your SIMULINK model to convert a number into hexadecimal format using “dec2hex" fu...

2 months ago | 0

| accepted

R peak detection of ecg and ppg
Hi, Refer the following MATLAB documentation page on “R Wave detection in the ECG”: https://www.mathworks.com/help/wavelet/u...

2 months ago | 0

Alternative Error Histogram Plot ?
Hi, “ploterrhist” does not support a parent axes argument. However, as a workaround, after using “ploterrhist”, you could repa...

2 months ago | 0

| accepted

Signal Analyzer app cannot edit filter values

2 months ago | 0

Find the area under a certain section of a plot
You can do this by finding the points of intersection of the curve(y1) and the line(y2). Let the intersection points be “[x1,y1...

2 months ago | 0