How can I use the markers in SPTOOL to crop and save portions of my signal in the Signal Processing Toolbox 6.2 (R14)?

Technical Source
2 min readMar 15, 2021

I am using SPTOOL to graphically view my signal. I would like to use the vertical markers to crop and save portions of my signal.

ANSWER

Matlabsolutions.com provide latest MatLab Homework Help,MatLab Assignment Help for students, engineers and researchers in Multiple Branches like ECE, EEE, CSE, Mechanical, Civil with 100% output.Matlab Code for B.E, B.Tech,M.E,M.Tech, Ph.D. Scholars with 100% privacy guaranteed. Get MATLAB projects with source code for your learning and research.

The ability to crop and save portions of a signal using the vertical markers in SPTOOL is not available in the Signal Processing Toolbox 6.2 (R14).

To work around this issue, try exporting the position of the markers from the Signal Browser, determining the corresponding indices of the data that constitutes the signal, and using the indices to generate a cropped signal. The following example demonstrates this approach using the “train” signal that ships with MATLAB:

1. Type the following at the MATLAB prompt to load a sample signal in the workspace and start SPTool:

load trainsptool

2. Choose “train” and select “View” under the signals portion of the SPTool startup window.

SEE COMPLETE ANSWER CLICK THE LINK

https://www.matlabsolutions.com/resources/how-can-i-use-the-markers-in-sptool-to-crop-and-save-portions-of-my-signal-in-the-signal-processing-toolbox-6-2-r14-.php

--

--

Technical Source

Simple! That is me, a simple person. I am passionate about knowledge and reading. That’s why I have decided to write and share a bit of my life and thoughts to.