How can I compare frequency or amplitude of the given signal by matlab?
3 views (last 30 days)
Show older comments
Commented: minsoo kim on 30 Nov 2017
Let's say I have a signal A.
If the frequency of A is higher than B frequency then the matlab returns certain output.
I used "switch" to do this task, but it didn't work.
I know the code above is wrong because "signal A" doesn't show any values(frequency or amplitude).
so, How can I compare frequency or amplitude of the given 2 signals by matlab?
KSSV on 30 Nov 2017
Check this pseudo code:
for i = 1:10
x = rand ; y = rand ;
if x > y
fprintf('x > y \n')
fprintf('x < y \n')
More Answers (0)
Find more on 기술 통계량 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!