How to use str2num in this problem? (problem is in description)

1 次查看(过去 30 天)
I have a Bit_str cell of size 1*2700. I am doing this:
vall = bit_str{1,1};
BS = str2double(vall);
Hie = fft(BS);
the output i am getting for Hie and BS is 'Inf'. where I am doing wrong. Please tell me.
  5 个评论

请先登录,再进行评论。

采纳的回答

Andrei Bobrov
Andrei Bobrov 2017-6-16
BS = bit_str{1}-'0'
Hie = fft(BS);

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Data Type Identification 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by