Create a set of random matrix variables with descriptive names (e.g. ran2by2int, ran3by3double, etc.) for use when testing matrix functions. Store all of these in a MAT-file
belongs to book: MATLAB: A Practical Introduction to Programming and Problem Solving|Stormy Attaway|Fourth Edition| Chapter number:9| Question number:7.9
All Answers
total answers (1)
>> clear
>> ran2by2int = randi([0,100], 2,2);
>> ran3by3int = randi([0,100], 3,3);
>> ran2by2double = rand(2,2)*100;
>> ran3by3double = rand(3,3)*100;
>> save randtestmat
>> load randtestmat
>> ran2by2int
ran2by2int =
71 27
3 4
need an explanation for this answer? contact us directly to get an explanation for this answer