You are on page 1of 3

Console

Startup execution:
loading initial environment

--> exec('C:\Users\dell\Desktop\ALCALA_EXERCISE5_Scinotes.sce', -1)

Alcala, Arcel A.
TCIE 3-1

Solve these problems using Scilab.


Write your name and section in scilab and include also the problems.
Use Scinotes in coding not console.
Submit in BS the printed PDF of console and scinotes file(.sce).

1.
A=
23. 31. 43.
4. 24. 76.
12. 12. 23.
B=
24. 31. 13.
14. 4. 14.
98. 45. 67.

2.A == B
FTF
FFF
FFF

3.B>=A
TTF
TFF
TTT

4.A<B
TFF
TFF
TTT

5.Delete the first row of A


4. 24. 76.
12. 12. 23.
6. Perform logspace function to execute
10. 193.06977 3727.5937 71968.567 1389495.5 26826958. 5.179D+08 1.000D+10

7. Perform logspace function to execute


column 1 to 9
10000. 27542.287 75857.758 208929.61 575439.94 1584893.2 4365158.3 1202264
4. 33113112.
column 10 to 18
91201084. 2.512D+08 6.918D+08 1.905D+09 5.248D+09 1.445D+10 3.981D+10 1
.096D+11 3.020D+11
column 19 to 26
8.318D+11 2.291D+12 6.310D+12 1.738D+13 4.786D+13 1.318D+14 3.631D+14
1.000D+15

8. Use linespace function to make a vector that start with 1, end with 200 and a step of 5.
1. 50.75 100.5 150.25 200.

9. Perform the meshgrid of Matrix A and B.


23. 4. 12. 31. 24. 12. 43. 76. 23.
23. 4. 12. 31. 24. 12. 43. 76. 23.
23. 4. 12. 31. 24. 12. 43. 76. 23.
23. 4. 12. 31. 24. 12. 43. 76. 23.
23. 4. 12. 31. 24. 12. 43. 76. 23.
23. 4. 12. 31. 24. 12. 43. 76. 23.
23. 4. 12. 31. 24. 12. 43. 76. 23.
23. 4. 12. 31. 24. 12. 43. 76. 23.
23. 4. 12. 31. 24. 12. 43. 76. 23.

24. 24. 24. 24. 24. 24. 24. 24. 24.


14. 14. 14. 14. 14. 14. 14. 14. 14.
98. 98. 98. 98. 98. 98. 98. 98. 98.
31. 31. 31. 31. 31. 31. 31. 31. 31.
4. 4. 4. 4. 4. 4. 4. 4. 4.
45. 45. 45. 45. 45. 45. 45. 45. 45.
13. 13. 13. 13. 13. 13. 13. 13. 13.
14. 14. 14. 14. 14. 14. 14. 14. 14.
67. 67. 67. 67. 67. 67. 67. 67. 67.

10. Perform the ndgrid of Matrix A and B.


23. 23. 23. 23. 23. 23. 23. 23. 23.
4. 4. 4. 4. 4. 4. 4. 4. 4.
12. 12. 12. 12. 12. 12. 12. 12. 12.
31. 31. 31. 31. 31. 31. 31. 31. 31.
24. 24. 24. 24. 24. 24. 24. 24. 24.
12. 12. 12. 12. 12. 12. 12. 12. 12.
43. 43. 43. 43. 43. 43. 43. 43. 43.
76. 76. 76. 76. 76. 76. 76. 76. 76.
23. 23. 23. 23. 23. 23. 23. 23. 23.

24. 14. 98. 31. 4. 45. 13. 14. 67.


24. 14. 98. 31. 4. 45. 13. 14. 67.
24. 14. 98. 31. 4. 45. 13. 14. 67.
24. 14. 98. 31. 4. 45. 13. 14. 67.
24. 14. 98. 31. 4. 45. 13. 14. 67.
24. 14. 98. 31. 4. 45. 13. 14. 67.
24. 14. 98. 31. 4. 45. 13. 14. 67.
24. 14. 98. 31. 4. 45. 13. 14. 67.
24. 14. 98. 31. 4. 45. 13. 14. 67.

You might also like