string to double number MATLAB source code

This page of MATLAB source code covers string to double number conversion or str2double matlab function with code.

str2double matlab function converts
string input to the double precision output value.

output=str2double(str1)
If 'str1' will not contain valid scalar value function returns NaN. str1 can be more than one elements or array. For example,
str2double({'2.50' '4.222'})

str2double matlab function

str1 = '1.25 + 50i'
output = str2double(str1)
output =
1.2500 +50.0000i

Useful Links to MATLAB codes

Refer following as well as links mentioned on left side panel for useful MATLAB codes.
OFDM Preamble generation  Time off estimation corr  Freq off estimation corr  channel estimation  11a WLAN channel  PN sequence generation  OFDMA Tx Rx  AES DES  carrier aggregation  CCDF  FIR Filter  IIR Filter  Low Pass FIR  Viterbi decoder  CRC8 CRC32 

RF and Wireless tutorials

WLAN  802.11ac  802.11ad  wimax  Zigbee  z-wave  GSM  LTE  UMTS  Bluetooth  UWB  IoT  satellite  Antenna  RADAR