number to string MATLAB source code

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

num2str function converts input number matrix
into string representation.

num2str matlab function

output = num2str(input)


output = num2str(input,N), here N is the digits of precision.

output = num2str(input,format), 'format' is the string format here.
input = randn(3,3) 
output=num2str(input,5)
output =

0.17464 -0.58832 0.11393
-0.18671 2.1832 1.0668
0.72579 -0.1364 0.059281

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