Clear out any variables that you have in your Command Window. Create a matrix variable and two vector variables
belongs to book: MATLAB: A Practical Introduction to Programming and Problem Solving|Stormy Attaway|Fourth Edition| Chapter number:9| Question number:6.9
All Answers
total answers (1)
>> mat = [2:4; 6:-1:4];
>> vec1 = 1:5;
>> vec2 = 4:12;
>> save matfile1
>> save matfile2 vec1 vec2
>> clear
>> load matfile1
>> who
Your variables are:
mat vec1 vec2
>> clear
>> load matfile2
>> who
Your variables are:
vec1 vec2
need an explanation for this answer? contact us directly to get an explanation for this answer