Created
July 14, 2015 21:51
-
-
Save l337quez/1cd2d44660d351680faf to your computer and use it in GitHub Desktop.
Guardar un vector string en variables
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%Se tiene un vector llamado VECTOR y guardaremos en diferentes variables cada uno de sus campos | |
VECTOR = ['America';'Europa';'Asia']; | |
variable1=vector(1,:), % Asignanamos 'America' a variable1 | |
variable2=vector(2,:), % Asignanamos 'Europa' a variable2 | |
variable3=vector(3,:), % Asignanamos 'Asia' a variable3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment