Community Profile

photo

Samatha Aleti


MathWorks

125 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

Samatha Aleti's Badges

  • Knowledgeable Level 2
  • First Answer
  • CUP Challenge Master
  • Community Group Solver
  • Solver

View details...

Contributions in
View by

Answered
How to implement an asynchronous FIFO/data buffer in Simulink?
Hi, According to my understanding you would like to send data at 2 different rates independently. To do this you may use a “Ra...

1 month ago | 0

Answered
How to extract data from multiple excel files
You may find the relevant answer here

1 month ago | 0

Answered
How to set sample time properties programmatically for simulink configuration
Hi, To configure the parameter “SampleTimePoperty” from command line, you need to enter the sample time properties as a struct...

1 month ago | 0

Answered
Error using readtable - matlab.io.ImportOptions/readtable (line 492)
Hi, Referring this link might help you.

1 month ago | 0

Answered
Signal Builder and Importing Data from Excel
Hi, For the excel sheet to comply with Signal builder while importing, it should not contain non-numeric values. So, try not u...

1 month ago | 0

| accepted

Answered
Extracting entity attributes from a batch and using it as an input to a simulink or matlab function?
Hi, According to my understanding you want to access the entity attributes in MATLAB. To do this, You may save the entity attr...

1 month ago | 0

| accepted

Answered
Geometric Brownian Motion (GBM)
Hi, There is MATLAB class “gbm” to create Geometric Brownian Motion object. There are functions like simulate, simByEuler, sim...

1 month ago | 1

| accepted

Answered
Random value generation in simscape component
Here is a link for a similar answer that might be of relevance to you: https://www.mathworks.com/matlabcentral/answers/475295-c...

1 month ago | 0

Answered
How to continue the queueOutputData() after execute stop()
You may refer to the solution provided to the similar question here

1 month ago | 0

Answered
How to subset a table with character elements
For cell arrays, in case of comparison the operator “==” doesn’t help. As you mentioned in the reference document, it worked sin...

1 month ago | 0

Answered
How to assign vectors to existing vector
Without logically going to each element you can use functions like find(), intersect(), setxor() for vectorization in achieving ...

1 month ago | 0

Answered
Select with the cursor in a plot the interval boundaries
You can select the points on the plot and save it to workspace with a variable name. One of the ways to do this is to select “Da...

2 months ago | 1

Answered
Measurement of Pulse and Transition Characteristics
Hi, To load in a similar way as you mentioned, you can save the signal as a mat-file. As an example, saving "x", "y" in a mat...

2 months ago | 0

| accepted

Answered
unit vector direction at corner - PDE mesh
You may refer to the following link for information on applying boundary conditions to PDE model https://www.mathworks.com/help...

2 months ago | 0

Answered
How can i hold on output to run a matlab function with it during simulation ?
Hi, According to my understanding you want to store the output of each step simulation and want to access it in MATLAB Functio...

2 months ago | 0

| accepted

Answered
Code to Extract Value from A Specific Cell during Simulation
Assuming you are able to access the cell from workspace during the simulation, one of the ways to access the cell element from a...

2 months ago | 0

Answered
How to use audio toolbox
Hi, MIDI Message holds the information about audio related action. For the following command midimsg(‘NoteOn’,channel, note...

2 months ago | 0

Answered
Error generating a psk modulation
In the class HelperModClassTestChannel the timing drift is calculated based on the clock offset for the current frame and specif...

2 months ago | 0

| accepted

Answered
wav file analysis to decibel
You may find your answer in the following link https://www.mathworks.com/matlabcentral/answers/22112-how-to-plot-wav-file En...

2 months ago | 0

Answered
why am i getting only the last iteration value?
In the given code, “FRAM_FINAL” value is updated at every iteration. To make the vector “FRAM_FINAL” hold the results of each it...

2 months ago | 0

Answered
What R does scircle1 refer to?
The variable “rad” in scircle1(lat0,lon0,rad) is the radius of the small circle that is to be drawn. For more information, ref...

2 months ago | 0

Answered
Multiple FFTs of segmented Signal with overlapping
Hi, To get the FFT of all the segments with a single call, you can use the “stft” (Short-time Fourier Transform) function which...

2 months ago | 0

Answered
Can the Negative edge triggered JK Flip Flop in Simulink be converted to positive edge triggered?
Hi, Yes, Simulink by default has Negative edge triggered JK Flip flop. To have the functionality of a Positive edge triggered ...

2 months ago | 0

Answered
run length compression algorithm
Hi, You can use the Run length Encoding function which is available in MATLAB File Exchange. Here is the link to download and ...

2 months ago | 0

Answered
Number generator from a power law distribution, given a mean, alpha and x range
Hi, You can generate random numbers from power law distribution using the RANDRAW function which is in MATLAB File Exchange. U...

2 months ago | 0

Answered
Windowed FFT magnitude / leakage effect
Hi, You may calculate & apply Amplitude correction factor to compensate the leakage effect. Here is an example N= 100; w =...

2 months ago | 0

Answered
Share Variables between functions in a Simulink level 2 matlab s-function .m file
Hi, To pass an object from Simulink software to MATLAB S-Function, use Run time objects. Here is the link for the documentatio...

2 months ago | 1

| accepted

Answered
How do I make the x-axis go to infinity so my graph can repeat?
Hi, Specifying “XLim” property as "“Inf” has similar effect as auto mode. However, you can view the plot for large range value...

2 months ago | 0

Answered
Need Help in Simplifying code
You can use the find function for vectorization. Here is how you can simplify the code. for j = 1:length(SurfAz) AOI(:...

2 months ago | 0

Solved


Test for balanced parentheses
Given the input inStr, give the boolean output out indicating whether all the parentheses are balanced. Examples: * If ...

4 months ago

Load more