How to Plotting a Binary input?
Mostra commenti meno recenti
%Input signal
clc;
clear all;
d = input('Enter Decimal Input to convert to Binary : ');
byte = dec2bin(d)
%Plotting Input signal
stairs(byte)
I am having to trouble plotting the binary number can anyone help me. It would be appreciated. Thank you,
Risposte (1)
Azzi Abdelmalek
il 1 Dic 2014
Modificato: Azzi Abdelmalek
il 1 Dic 2014
d = 89
byte = dec2bin(d)
%Plotting Input signal
stairs(byte-'0','r','linewidth',5)
Categorie
Scopri di più su Spectral Estimation in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!