Convert analog to digital

4 次查看(过去 30 天)
I am plotting a signal with the following code. I want to convert this signal from analog to digital. Is there any way i can do it, i need to plot a straight line to x axis with each value which i am getting. Thank you in advance.
iSample = 1:iMaxSamples;
Value_AD_Value(iSample) = AD_Value_iAmplitude(iTimeIndex,iChannel,iSample); plot(handles.AD_Values,iSample,Value_AD_Value,'LineWidth',2,'Color',ColorSet(ColorArray(iChannel),:));

采纳的回答

Azzi Abdelmalek
Azzi Abdelmalek 2014-7-28
Use stem function instead of plot
  5 个评论
Mrinal
Mrinal 2014-7-28
编辑:Mrinal 2014-7-28
thnx again for the answer, but i am using
set (s,'Marker','None');

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Multirate Signal Processing 的更多信息

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by