Documente Academic
Documente Profesional
Documente Cultură
Ceil
ceil - Ronda hacia el infinito positivo
Esta funcin MATLAB redondea los elementos de A a los enteros ms
prximos a mayores
que o igual a A.
B = ceil ( A)
La pgina de referencia para ceil
Vase tambin fijar , piso , redondo
Otras funciones de llamada ceil
FixedPoint / ceil
5.
>> x=(pi/4);
y=exp(1);
z=(2.31);
w=log(x)+sqrt(1+y.^3)/1-sin(x)+y*z
w=
6.
9.9225
Si la medida de un ngulo x en grados sexagesimales es 30 , hallar
el valor de la expresin: w = x cos2 (1.23+x).
>> x=30;
w = x*(cos(1.23+x)).^2
w=
28.9748
7.
>> x=30;
w=(x+(cos(x)).^2/x.^2+1)-exp(-x)
w=
31.0000
>> x=45;
w=(x+(cos(x)).^2/x.^2+1)-exp(-x)
w=
46.0001
>> x=60;
w=(x+(cos(x)).^2/x.^2+1)-exp(-x)
w=
61.0003
>> x=90;
w=(x+(cos(x)).^2/x.^2+1)-exp(-x)
w=
91.0000
8.
2.9218 28.2104
9.
1.8974
1.8439
1.7889
1.7321
1.6733
Columns 10 through 11
1.4832
1.4142
x=
Columns 1 through 9
0
1.4000
0.2000
1.6000
0.4000
Columns 10 through 11
1.8000
2.0000
0.6000
0.8000
1.0000
1.2000
13.
>> y=log(4-abs(x))/x-4;
x=0:0.002:1
plot(x,y)
x=
Columns 1 through 9
0
0.0140
0.0020
0.0160
0.0040
0.0060
0.0080
0.0100
0.0120
Columns 10 through 18
0.0180 0.0200
0.0320 0.0340
0.0220
0.0240
0.0260
0.0280
0.0300
0.0420
0.0440
0.0460
0.0480
0.0600
0.0620
0.0640
0.0660
0.0780
0.0800
0.0820
0.0840
0.0960
0.0980
0.1000
0.1020
Columns 19 through 27
0.0360 0.0380
0.0500 0.0520
0.0400
Columns 28 through 36
0.0540 0.0560
0.0680 0.0700
0.0580
Columns 37 through 45
0.0720 0.0740
0.0860 0.0880
0.0760
Columns 46 through 54
0.0900 0.0920
0.1040 0.1060
0.0940
Columns 55 through 63
0.1080 0.1100
0.1220 0.1240
0.1120
0.1140
0.1160
0.1180
0.1200
0.1320
0.1340
0.1360
0.1380
0.1500
0.1520
0.1540
0.1560
0.1680
0.1700
0.1720
0.1740
0.1860
0.1880
0.1900
0.1920
0.2040
0.2060
0.2080
0.2100
0.2220
0.2240
0.2260
0.2280
0.2400
0.2420
0.2440
0.2460
0.2580
0.2600
0.2620
0.2640
0.2760
0.2780
0.2800
0.2820
Columns 64 through 72
0.1260 0.1280
0.1400 0.1420
0.1300
Columns 73 through 81
0.1440 0.1460
0.1580 0.1600
0.1480
Columns 82 through 90
0.1620 0.1640
0.1760 0.1780
0.1660
Columns 91 through 99
0.1800 0.1820
0.1940 0.1960
0.1840
0.2020
0.2200
0.2380
0.2560
0.2740
0.2880 0.2900
0.3020 0.3040
0.2920
0.2940
0.2960
0.2980
0.3000
0.3120
0.3140
0.3160
0.3180
0.3300
0.3320
0.3340
0.3360
0.3480
0.3500
0.3520
0.3540
0.3660
0.3680
0.3700
0.3720
0.3840
0.3860
0.3880
0.3900
0.4020
0.4040
0.4060
0.4080
0.4200
0.4220
0.4240
0.4260
0.4380
0.4400
0.4420
0.4440
0.4560
0.4580
0.4600
0.4620
0.4740
0.4760
0.4780
0.4800
0.3100
0.3280
0.3460
0.3640
0.3820
0.4000
0.4180
0.4360
0.4540
0.4720
0.4900
0.4920
0.4940
0.4960
0.4980
0.5100
0.5120
0.5140
0.5160
0.5280
0.5300
0.5320
0.5340
0.5460
0.5480
0.5500
0.5520
0.5640
0.5660
0.5680
0.5700
0.5820
0.5840
0.5860
0.5880
0.6000
0.6020
0.6040
0.6060
0.6180
0.6200
0.6220
0.6240
0.6360
0.6380
0.6400
0.6420
0.6540
0.6560
0.6580
0.6600
0.5080
0.5260
0.5440
0.5620
0.5800
0.5980
0.6160
0.6340
0.6520
0.6660 0.6680
0.6800 0.6820
0.6700
0.6720
0.6740
0.6760
0.6780
0.6900
0.6920
0.6940
0.6960
0.7080
0.7100
0.7120
0.7140
0.7260
0.7280
0.7300
0.7320
0.7440
0.7460
0.7480
0.7500
0.7620
0.7640
0.7660
0.7680
0.7800
0.7820
0.7840
0.7860
0.7980
0.8000
0.8020
0.8040
0.8160
0.8180
0.8200
0.8220
0.8340
0.8360
0.8380
0.8400
0.8520
0.8540
0.8560
0.8580
0.6880
0.7060
0.7240
0.7420
0.7600
0.7780
0.7960
0.8140
0.8320
0.8500
0.8680
0.8700
0.8720
0.8740
0.8760
0.8880
0.8900
0.8920
0.8940
0.9060
0.9080
0.9100
0.9120
0.9240
0.9260
0.9280
0.9300
0.9420
0.9440
0.9460
0.9480
0.9600
0.9620
0.9640
0.9660
0.9780
0.9800
0.9820
0.9840
0.9960
0.9980
1.0000
0.8860
0.9040
0.9220
0.9400
0.9580
0.9760
0.9920
0.9940
14.
15.
16.