Services
Discover
Homeschooling
Ask a Question
Log in
Sign up
Filters
Done
Question type:
Essay
Multiple Choice
Short Answer
True False
Matching
Topic
Engineering
Study Set
Engineering Fundamentals
Quiz 15: Computational Engineering Tools: Matlab
Path 4
Access For Free
Share
All types
Filters
Study Flashcards
Practice Exam
Learn
Question 21
Essay
The following matrices have already been defined in MATLAB:
What would be the outputs of the following MATLAB inputs: ->> A(2:3,:)
Question 22
Multiple Choice
What does the following MATLAB function do? log2(x)
Question 23
Essay
The following matrices have already been defined in MATLAB:
What would be the outputs of the following MATLAB inputs: ->> length (A)
Question 24
Multiple Choice
To obtain the coefficients of the second order polynomial that best fits a given set of x and y data, you will type the following sequence of commands:
Question 25
Essay
The following matrices have already been defined in MATLAB:
What would be the outputs of the following MATLAB inputs: ->> A(:,3)
Question 26
Essay
Find the corresponding MATLAB output: >> factorial(3) ans =
Question 27
Multiple Choice
Which of the following commands are commonly used while plotting in MATLAB?
Question 28
Essay
The following matrices have already been defined in MATLAB:
What would be the outputs of the following MATLAB inputs: ->> B(:,3:4)
Question 29
Essay
In the MATLAB Command Window, if you type the following commands, what would be the result? scores = [80 90 50 70 80 60 65 95 70 40]; for i=1:1:10 if scores (i) >60 fprintf('\t %g \t\t\t\t\t PASSING\n', scores (i)); else fprintf('\t %g \t\t\t\t\t FAILING\n', scores (i)) end end
Question 30
Essay
In the MATLAB Command Window, if you type the following commands, what would be the result? scores = [80 90 50 70 80 60 65 95 70 40]; for i=1:1:10 if scores (i) <60 fprintf ('\t %g \t\t\t\t\t FAILING\n', scores (i)) end end