Community Profile

photo

Nir Rattner

MathWorks

Active since 2014

Followers: 0   Following: 0

Message

I'm an Application Support Engineer at Mathworks.

In my free time I like to play guitar, cook, and build robots.
Professional Interests: MATLAB, robotics, application development

Statistics

  • Knowledgeable Level 1
  • First Answer

View badges

Feeds

View by

Answered
Find average based on multiple columns of data structure
Assuming your data is stored in a matrix, you can use the "unique" and "accumarray" functions. First, it seems that you want to ...

9 years ago | 2

Answered
Plot magnitude on y-axis and time on x-axis read from an excel file
You can use the Import Data tool in the Home tab to import your data into MATLAB. At that point you can use the "datenum" functi...

9 years ago | 0

Answered
Extract element from column vector with condition
You can use the “find” function to find the indices of your zeros and then subtract each index by the one before to make sure th...

9 years ago | 0

| accepted

Answered
speeding up nested for loops
I'm assuming A, B, C, and D are functions considering the 0 valued arguments. Typically, vectorizing your code should be a fi...

9 years ago | 1

Answered
for finding peak. i tried findpeaks(). but its not working
Assuming that the image provided is the input format for the signal, you can use the “find” function with a threshold to get all...

9 years ago | 0

Answered
Is there a function in matlab that is equivalent to STL multimap in C++
I could not find a direct equivalent to STL multimap in MATLAB, however, you can use cell arrays with two columns to make key-va...

9 years ago | 0

Answered
Assign rename of structure with input command
You can use the “eval” function to effectively convert a string to a variable name: S=input('Enter a name for the structure...

9 years ago | 0

Answered
summing random numerical excel data in matlab?
You can use the “xlsread” function to read in the data from your Excel spreadsheet. Once the data is imported, you can use stand...

9 years ago | 0

Answered
How to generate a Sine with parameter input and output pre determined?
Given a sinusoid of the form “y = A * sin(w * x)”, I’m assuming you want the function to take “A” and “w” as parameters. The cod...

9 years ago | 0

Answered
increasing index in for loop
There are a few ways you can do this include if-else statements or switch-case statements to determine which value to choose to ...

9 years ago | 0

Answered
Creating a GUI which contains another GUI
The best way to create a dynamic GUI is to change the “Visible” property of uicontrol elements to display and hide them as neede...

9 years ago | 0