Create two variables to store a weight in pounds and ounces. Use who and whos to see the variables. Use class to see the types of the variables. Clear one of them and then use who and whos again
belongs to book: MATLAB: A Practical Introduction to Programming and Problem Solving|Stormy Attaway|Fourth Edition| Chapter number:1| Question number:4.1
All Answers
total answers (1)
>> pounds = 4;
>> ounces = 3.3;
>> who
Your variables are:
ounces pounds
>> whos Name
Size Bytes Class Attributes
ounces 1x1 8 double pounds 1x1 8 double
>> clear pounds
>> who Your variables are: ounces
need an explanation for this answer? contact us directly to get an explanation for this answer