Skip to content

Instantly share code, notes, and snippets.

@shaybensasson
Created March 4, 2015 09:07
Show Gist options
  • Select an option

  • Save shaybensasson/b07f27ac8c58d3296bc5 to your computer and use it in GitHub Desktop.

Select an option

Save shaybensasson/b07f27ac8c58d3296bc5 to your computer and use it in GitHub Desktop.
concat strings
a='123';b='456123';
s1=[a ',' b '.']
n=num2str(15.5)
s2=['I am ' n ' years old.']
b = strcmpi('s', 'S'); %1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment