Buscar

Fase 1 Reporte de matlab y ejercicios

Prévia do material em texto

UNIVERSIDAD AUTONÓMA DE NUEVO LEÓN 
FACULTAD DE INGENIERÍA MECÁNICA Y ELÉCTRICA 
SEMESTRE: Enero-junio 2022 
 
 
Fase 1. Reporte de Matlab y ejercicios 
PROGRAMACION CON MATLAB 
 
 
 
 
 
a) Report explaining the uses of MATLAB and explain what functions have the main windows 
of the software. 
 
 
At first in the top of the program we have the typical functions in programming software’s like NEW, 
OPEN, UPLOAD and more. You can find more information in internet about all the icons. 
 The first window that you can see is the editor window that you can create programs into 
there. 
 In the section “current folder” you can see information about the current folder are you 
working on. 
 in the window called workspace will be stored the names of the variables that we are using 
now in the MATLAB ambient and the value that the variable has. 
 the command window is the window where we must start to execute commands, make 
operations, for example basic operations like 2 + 2. 
 In the icon layout if you select it you can choose how to do you want to see the ambient in 
MATLAB, in two columns, three columns, minimize all but command window and command 
window only. 
 There is another section in layout that it says command history when you can choose if you 
want to see the commands that were executed, if you select docked it will show you in a 
window your historial. 
 You can move the order of the windows like you want selecting it with the mouse. 
 In the MATLAB preferences you can change the font and size of the text and change the 
colors of the interface. 
B) Calculate the following exercises using MATLAB. (use the MATLAB command window for the 
operations. Copy and paste each of the exercises done in MATLAB into the report to be delivered) 
1. 
 
 
 
 
2. 
 
3. 
 
 
 
4. 
 
 
 
This is FALSE cause if you try to save the command without define the value of Y it will send you an 
error cause the program can’t recognize the variable. 
5. 
 
 
 
6. 
 
7. 
 
 
 
 
 
 
 
Conclusion 
En esta actividad aprendí a reconocer las funciones de la pantalla principal de Matlab lo que 
hace cada icono y las funciones de las ventanas como la de comandos, del editor, del 
historial entre otras, además aprendí a hacer operaciones con números enteros, fracciones, 
y números racionales, también a crear un script en el cual ejecutaría los comandos para 
sacar el seno de algunas operaciones, por ultimo practiqué el inglés debido a que no utilice 
ningún traductor aunque tal vez hayan algunos errores pero así aprenderé mejor el idioma. 
	UNIVERSIDAD AUTONÓMA DE NUEVO LEÓN FACULTAD DE INGENIERÍA MECÁNICA Y ELÉCTRICA
	Fase 1. Reporte de Matlab y ejercicios PROGRAMACION CON MATLAB

Continue navegando