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

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 commentaires

What is class and size of bit_str{1,1} ??
bit_str is a 1D cell of size 1*2700. its value is.. 11111101000010110100000000100100000000000000.....(more values)
Actually the bit_str{1,1} I am having is of char type. I want to convert it in such a way that I can use fft function which can't be done in string.
I think you are dealing with binary numbers.

Connectez-vous pour commenter.

 Réponse acceptée

Plus de réponses (0)

Catégories

En savoir plus sur Data Type Identification dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by