ITEC 2600 Lecture 4: ITEC2600 A2

506 views3 pages

Document Summary

At the top of each le introduce your name and student number as a comment. Write a main m- le which can execute all the following questions if necessary: create a row vector cell array to store the string xyz", the number 33. 3, the vector 2:6, and the logical expression a" < c". Use the transpose operator to make this a column vector, and use reshape to make it a 2 x 2 matrix. Use celldisp to display all elements: write a function catit that will receive one input argument which is a cell array. If the cell array contains only strings, it will return one string which is all of the strings from the cell array concatenated together-otherwise, it will return an empty string. Here is one example of calling the function: York university: the depth of snow in inches has been measured in a very cold location every week since the snow began accumulating.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents