Skip to main content
8-Gravel
July 28, 2023
Solved

Remove specific regions from a graph

  • July 28, 2023
  • 2 replies
  • 10239 views

Hello,

 

I read an excel file into MathCAD and created a matrix and was able to plot the figure. The data is current through a switch. I want to delete specific regions of the graph, namely some spikes (see attached file). 

 

Is there a way to do this? 

 

Thanks

 

Best answer by terryhendicott

Hi,

You must keep the points on the graphs in synchronization if you want to do arithmetic on them element by element

Capture.JPG

Capture2.JPG

If so is there a way reflect the modifications done on the curve on the data?

Yes you can plot the points taken out in a different colour on the plots.

Cheers

Terry

2 replies

21-Topaz II
July 28, 2023

Hi,

Can you please upload the Prime file (and Excel file if required) with the data

Cheers

Terry

8-Gravel
July 28, 2023

Hi Terry,

 

Attached is the Excel file and MathCAD 

 

Thanks,

 

21-Topaz II
July 28, 2023

Hi,

First process is trim the tops

Capture.JPG

Cheers

Terry

23-Emerald I
August 14, 2023

I've been trying to figure out how to trim out the "bad data."  I started out trying (and failing miserably) to develop an FFT  based solution.  

 

That led me to looking at the time data, and there are some really strange things to be seen.  Take a look at the attached file.