matrix to string matlab code | mat2str function

This page of MATLAB source code covers matrix to string conversion or mat2str matlab function with code.

mat2str matlab function converts 2 dimensional matrix to a string format with MATLAB syntax.

mat2str matlab function

A = [1 2 3; 5 6 7; 9 10 11; 13 14 15]; % A is the matrix
output= mat2str(A)
output =

[1 2 3;5 6 7;9 10 11;13 14 15]

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