need data about tach signal?
Show older comments
greetings !! I want to know about tach signal(like signal from tachometer) in MATLAB and its generation in matlab like attached image(Might be aperiodic).. And i want to add some Gaussian noise to that signal to find frequency b/w peeks.
I tried using "pulse train" but not getting as i like..
Accepted Answer
More Answers (1)
Xiaoxing Wang
on 29 Sep 2024
You can also get a tacho signal like this
fs = 1e3; %* sampling frequency
fr = 5; %* repetition frequency
t = 0:1/fs:1;
pulse = zeros(length(t),1);
idx = (fs/fr):(fs/fr):length(t);
idx = round(idx);
pulse(idx) = 1;
Categories
Find more on Switches and Breakers in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!