• ¿Documento equivocado? Cámbialo gratis
  • Escrito por estudiantes que aprobaron
  • Inmediatamente disponible después del pago
  • Leer en línea o como PDF
Vender
¿Dónde estudias?
Tu idioma
Document preview thumbnail
Vista previa 2 fuera de 5 páginas
Otro

Cmpsc 200 Final Exam Verified Study Guide

Document preview thumbnail
Vista previa 2 fuera de 5 páginas

Cmpsc 200 Final Exam Verified Study Guide

Vista previa del contenido

CMPSC 200 FINAL EXAM VERIFIED STUDY GUIDE



MATLAB name meaning - Answers - "MATrix LABoratory"

Meshgrid - Answers - Function that facilitates calculations with two variables that are
row arrays by creating two 2-dimensional arrays that can be used for the operation.

Format of a function .m file - Answers - function [ result ] = functionname( variable
inputs)

% description of function
% input, output, processing steps

calculations

result = ;

end

disp - Answers - function that may be used to output value(s) stored in an array. Can
only combine text and numbers if you cnovert one to the other.

Not much control over the format.

num2str(a) - Answers - converts number to string so as to display both together in a
single display

fprintf - Answers - Formatted Output - function that allows more control over the
display of an output.

general format: fprint(text with placeholders %f, variables)

ginput - Answers - function that allows users to extract information from a graph

ginput(n) specifies how many points (n) can be extracted from the graph

uiimport - Answers - opens the import wizard

xlsread - Answers - reads data from an excel file

xlswrite - Answers - writes files for use in excel

3 types of control structures - Answers - Sequence, Selection, and Repetition

Relational Operators - Answers - < less than
<= less than or equal to
> greater than

, >= greater than or equal to
~= not equal to
== equal to

Logical Operators - Answers - | or, if either condition is true, the combination is true
& and, if both conditions are true, the combination is true
~ not, reverses the truth of the condition
xor if one of the conditions is true, but not both, the combination is true

| or truth table - Answers - Cond1 | Cond2 Result
TTT
TFT
FTT
FFF

& and truth table - Answers - Cond1 & Cond2 Result
TTT
TFF
FTF
FFT

xor xor truth table - Answers - Cond1 xor Cond2 Result
TTF
TFT
FTT
FFF

Logical Functions - Answers - Find, All, Any

find - Answers - returns the index of the elements of the array that meet the condition

all - Answers - returns true if all the elements of the array meets the condition,
otherwise returns false

any - Answers - returns true if any of the elements of the array meet the condition,
otherwise returns false

Sequence Structure - Answers - commands are executed one right after another in
the exact order they are written

Selection Structure - Answers - one sec of commands is executed when a condition
is true and another set if the condition is false

Repetition Structure - Answers - set of commands that are issued over an over again
(loops)

"If" Selection Structure - Answers - if (condition)
statements to be executed if true
elseif (condition)
statements to be executed if condition2 is true

Información del documento

Subido en
13 de noviembre de 2026
Número de páginas
5
Escrito en
2026/2027
Tipo
Otro
Personaje
Desconocido
$12.99

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
GEEKA
3.8
(379)
Vendido
2239
Seguidores
1451
Artículos
63782
Última venta
15 horas hace



Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes