Community Profile


Sean Brennan

Penn State University

Last seen: 3 Monate ago Active since 2021

Director of the Intelligent Vehicles and Systems Group,
Professor of Mechanical Engineering


  • Knowledgeable Level 1
  • Introduction to MATLAB Master
  • Commenter
  • Community Group Solver
  • MATLAB Central Treasure Hunt Finisher
  • First Answer
  • Solver

View badges

Content Feed

View by

How to set the plot start to zero ? I have some measurements. On the x label, they start from 0 to 6, but from 1 I can see something change on
Like the previous answer said: be sure to plot x values AND y values. MATLAB allows you to plot data in the form: data = rand...

5 Monate ago | 1

How can you create event points with continuous data?
Here's a quick method to do this using diff. It's possible to put this all into one compact line, but left it "spread out" here ...

5 Monate ago | 0

| accepted

I have a matrix [301,4201] and I would like to select only the values ​​ >=1.5.
This might help. The example below uses a random 10x10 matrix as a placeholder to demo the "find" command. dummy_data = rand(10...

5 Monate ago | 0

Tachometer outputting increased value under load erroneously
There's several things that could explain this behavior: Your code is detecting transitions from the sensor as high/low. If the...

5 Monate ago | 0

For loop to replace n/a with NaN in a table
Here's an answer - not elegant or vectorized, but it should work. This uses the test file listed earlier as the input. Given t...

5 Monate ago | 0