Community Profile

photo

Nir Rattner

MathWorks

Attivo dal 2014

Followers: 0   Following: 0

Contatto

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

Statistiche

  • Knowledgeable Level 1
  • First Answer

Visualizza badge

Feeds

Visto da

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

oltre 9 anni fa | 2

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

oltre 9 anni fa | 0

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

oltre 9 anni fa | 0

| accettato

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

oltre 9 anni fa | 1

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

oltre 9 anni fa | 0

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

oltre 9 anni fa | 0

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

oltre 9 anni fa | 0

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

oltre 9 anni fa | 0

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

oltre 9 anni fa | 0

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

oltre 9 anni fa | 0

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

oltre 9 anni fa | 0