matlab 实验1.docx

上传人:b****2 文档编号:1130112 上传时间:2023-04-30 格式:DOCX 页数:38 大小:61.70KB
下载 相关 举报
matlab 实验1.docx_第1页
第1页 / 共38页
matlab 实验1.docx_第2页
第2页 / 共38页
matlab 实验1.docx_第3页
第3页 / 共38页
matlab 实验1.docx_第4页
第4页 / 共38页
matlab 实验1.docx_第5页
第5页 / 共38页
matlab 实验1.docx_第6页
第6页 / 共38页
matlab 实验1.docx_第7页
第7页 / 共38页
matlab 实验1.docx_第8页
第8页 / 共38页
matlab 实验1.docx_第9页
第9页 / 共38页
matlab 实验1.docx_第10页
第10页 / 共38页
matlab 实验1.docx_第11页
第11页 / 共38页
matlab 实验1.docx_第12页
第12页 / 共38页
matlab 实验1.docx_第13页
第13页 / 共38页
matlab 实验1.docx_第14页
第14页 / 共38页
matlab 实验1.docx_第15页
第15页 / 共38页
matlab 实验1.docx_第16页
第16页 / 共38页
matlab 实验1.docx_第17页
第17页 / 共38页
matlab 实验1.docx_第18页
第18页 / 共38页
matlab 实验1.docx_第19页
第19页 / 共38页
matlab 实验1.docx_第20页
第20页 / 共38页
亲,该文档总共38页,到这儿已超出免费预览范围,如果喜欢就下载吧!
下载资源
资源描述

matlab 实验1.docx

《matlab 实验1.docx》由会员分享,可在线阅读,更多相关《matlab 实验1.docx(38页珍藏版)》请在冰点文库上搜索。

matlab 实验1.docx

matlab实验1

a=1

a=

1

formatcompat

?

?

?

Errorusing==>format

Unknowncommandoption.

formatcompact

A=[1233;2357;1357;3239;1894]

A=

1233

2357

1357

3239

1894

B=[1+4i43;234+2i]

B=

1.0000+4.0000i4.00003.0000

2.00003.00004.0000+2.0000i

B=[1+4i43678;233554+2i;26+7i5342;189543]

B=

Columns1through5

1.0000+4.0000i4.00003.00006.00007.0000

2.00003.00003.00005.00005.0000

2.00006.0000+7.0000i5.00003.00004.0000

1.00008.00009.00005.00004.0000

Column6

8.0000

4.0000+2.0000i

2.0000

3.0000

C=A*B

C=

1.0e+002*

Columns1through5

0.1400+0.0400i0.5200+0.2100i0.51000.40000.4100

0.2500+0.0800i1.0300+0.3500i1.03000.77000.7700

0.2400+0.0400i0.9900+0.3500i1.00000.71000.7000

0.2200+0.1200i1.0800+0.2100i1.11000.82000.7900

0.3900+0.0400i1.1400+0.6300i1.08000.93000.9900

Column6

0.3100+0.0400i

0.5900+0.0600i

0.5100+0.0600i

0.6500+0.0400i

0.7000+0.1600i

D=C(4:

6,3:

4)

?

?

?

Indexexceedsmatrixdimensions.

D=C(4:

5,4:

6)

D=

82.000079.000065.0000+4.0000i

93.000099.000070.0000+16.0000i

t=(-1:

0.01:

1)

t=

Columns1through10

-1.0000-0.9900-0.9800-0.9700-0.9600-0.9500-0.9400-0.9300-0.9200-0.9100

Columns11through20

-0.9000-0.8900-0.8800-0.8700-0.8600-0.8500-0.8400-0.8300-0.8200-0.8100

Columns21through30

-0.8000-0.7900-0.7800-0.7700-0.7600-0.7500-0.7400-0.7300-0.7200-0.7100

Columns31through40

-0.7000-0.6900-0.6800-0.6700-0.6600-0.6500-0.6400-0.6300-0.6200-0.6100

Columns41through50

-0.6000-0.5900-0.5800-0.5700-0.5600-0.5500-0.5400-0.5300-0.5200-0.5100

Columns51through60

-0.5000-0.4900-0.4800-0.4700-0.4600-0.4500-0.4400-0.4300-0.4200-0.4100

Columns61through70

-0.4000-0.3900-0.3800-0.3700-0.3600-0.3500-0.3400-0.3300-0.3200-0.3100

Columns71through80

-0.3000-0.2900-0.2800-0.2700-0.2600-0.2500-0.2400-0.2300-0.2200-0.2100

Columns81through90

-0.2000-0.1900-0.1800-0.1700-0.1600-0.1500-0.1400-0.1300-0.1200-0.1100

Columns91through100

-0.1000-0.0900-0.0800-0.0700-0.0600-0.0500-0.0400-0.0300-0.0200-0.0100

Columns101through110

00.01000.02000.03000.04000.05000.06000.07000.08000.0900

Columns111through120

0.10000.11000.12000.13000.14000.15000.16000.17000.18000.1900

Columns121through130

0.20000.21000.22000.23000.24000.25000.26000.27000.28000.2900

Columns131through140

0.30000.31000.32000.33000.34000.35000.36000.37000.38000.3900

Columns141through150

0.40000.41000.42000.43000.44000.45000.46000.47000.48000.4900

Columns151through160

0.50000.51000.52000.53000.54000.55000.56000.57000.58000.5900

Columns161through170

0.60000.61000.62000.63000.64000.65000.66000.67000.68000.6900

Columns171through180

0.70000.71000.72000.73000.74000.75000.76000.77000.78000.7900

Columns181through190

0.80000.81000.82000.83000.84000.85000.86000.87000.88000.8900

Columns191through200

0.90000.91000.92000.93000.94000.95000.96000.97000.98000.9900

Column201

1.0000

y=sin(1./t)

y=

Columns1through10

-0.8415-0.8469-0.8523-0.8578-0.8632-0.8687-0.8742-0.8797-0.8852-0.8907

Columns11through20

-0.8962-0.9017-0.9071-0.9125-0.9179-0.9233-0.9285-0.9338-0.9389-0.9440

Columns21through30

-0.9490-0.9539-0.9586-0.9632-0.9677-0.9719-0.9760-0.9799-0.9835-0.9869

Columns31through40

-0.9899-0.9926-0.9950-0.9969-0.9985-0.9995-1.0000-0.9999-0.9991-0.9977

Columns41through50

-0.9954-0.9923-0.9883-0.9832-0.9770-0.9696-0.9608-0.9505-0.9386-0.9249

Columns51through60

-0.9093-0.8916-0.8715-0.8489-0.8236-0.7952-0.7636-0.7284-0.6894-0.6462

Columns61through70

-0.5985-0.5459-0.4882-0.4249-0.3558-0.2806-0.1991-0.1111-0.01660.0841

Columns71through80

0.19060.30190.41670.53300.64770.75680.85480.93430.98610.9988

Columns81through90

0.95890.85210.66510.39020.0332-0.3742-0.7576-0.9870-0.8873-0.3277

Columns91through100

0.54400.99330.0663-0.98900.8184-0.91290.1324-0.94050.26240.5064

Columns101through110

NaN-0.5064-0.26240.9405-0.13240.9129-0.81840.9890-0.0663-0.9933

Columns111through120

-0.54400.32770.88730.98700.75760.3742-0.0332-0.3902-0.6651-0.8521

Columns121through130

-0.9589-0.9988-0.9861-0.9343-0.8548-0.7568-0.6477-0.5330-0.4167-0.3019

Columns131through140

-0.1906-0.08410.01660.11110.19910.28060.35580.42490.48820.5459

Columns141through150

0.59850.64620.68940.72840.76360.79520.82360.84890.87150.8916

Columns151through160

0.90930.92490.93860.95050.96080.96960.97700.98320.98830.9923

Columns161through170

0.99540.99770.99910.99991.00000.99950.99850.99690.99500.9926

Columns171through180

0.98990.98690.98350.97990.97600.97190.96770.96320.95860.9539

Columns181through190

0.94900.94400.93890.93380.92850.92330.91790.91250.90710.9017

Columns191through200

0.89620.89070.88520.87970.87420.86870.86320.85780.85230.8469

Column201

0.8415

plot(t,y)

B=[5765;71087;68109;57910]

B=

5765

71087

68109

57910

rank(B)

ans=

4

det(B)

ans=

1

poly(B)

ans=

1.0000-35.0000146.0000-100.00001.0000

norm(B)

ans=

30.2887

[V,D]=eig(B)

V=

0.83040.09330.39630.3803

-0.5016-0.30170.61490.5286

-0.20860.7603-0.27160.5520

0.1237-0.5676-0.62540.5209

D=

0.0102000

00.843100

003.85810

00030.2887

B'

ans=

5765

71087

68109

57910

ones(10)

ans=

1111111111

1111111111

1111111111

1111111111

1111111111

1111111111

1111111111

1111111111

1111111111

1111111111

zeros(10)

ans=

0000000000

0000000000

0000000000

0000000000

0000000000

0000000000

0000000000

0000000000

0000000000

0000000000

eye(10)

ans=

1000000000

0100000000

0010000000

0001000000

0000100000

0000010000

0000001000

0000000100

0000000010

0000000001

diag([1234564890])

ans=

1000000000

0200000000

0030000000

0004000000

0000500000

0000060000

0000004000

0000000800

0000000090

0000000000

A=[715;256;315]

A=

715

256

315

B=[111;222;333]

B=

111

222

333

A(2,3)

ans=

6

A=(:

2)

A(:

2)

ans=

1

5

1

A(3,:

ans=

315

A(:

1:

2:

3)

ans=

75

26

35

A(:

3)

ans=

5

6

5

*B(:

2)

?

?

?

Error:

UnexpectedMATLABoperator.

*B(:

2)

?

?

?

Error:

UnexpectedMATLABoperator.

B(:

2)

ans=

1

2

3

t=(0:

0.01:

2*pi)

t=

Columns1through10

00.01000.02000.03000.04000.05000.06000.07000.08000.0900

Columns11through20

0.10000.11000.12000.13000.14000.15000.16000.17000.18000.1900

Columns21through30

0.20000.21000.22000.23000.24000.25000.26000.27000.28000.2900

Columns31through40

0.30000.31000.32000.33000.34000.35000.36000.37000.38000.3900

Columns41through50

0.40000.41000.42000.43000.44000.45000.46000.47000.48000.4900

Columns51through60

0.50000.51000.52000.53000.54000.55000.56000.57000.58000.5900

Columns61through70

0.60000.61000.62000.63000.64000.65000.66000.67000.68000.6900

Columns71through80

0.70000.71000.72000.73000.74000.75000.76000.77000.78000.7900

Columns81through90

0.80000.81000.82000.83000.84000.85000.86000.87000.88000.8900

Columns91through100

0.90000.91000.92000.93000.94000.95000.96000.97000.98000.9900

Columns101through110

1.00001.01001.02001.03001.04001.05001.06001.07001.08001.0900

Columns111through120

1.10001.11001.12001.13001.14001.15001.16001.17001.18001.1900

Columns121through130

1.20001.21001.22001.23001.24001.25001.26001.27001.28001.2900

Columns131through140

1.30001.31001.32001.33001.34001.35001.36001.37001.38001.3900

Columns141through150

1.40001.41001.42001.43001.44001.45001.46001.47001.48001.4900

Columns151through160

1.50001.51001.52001.53001.54001.55001.56001.57001.58001.5900

Columns161through170

1.60001.61001.62001.63001.64001.65001.66001.67001.68001.6900

Columns171through180

1.70001.71001.72001.73001.74001.75001.76001.77001.78001.7900

Columns181through190

1.80001.81001.82001.83001.84001.85001.86001.87001.88001.8900

Columns191through200

1.90001.91001.92001.93001.94001.95001.96001.97001.98001.9900

Columns201through210

2.00002.01002.02002.03002.04002.05002.06002.07002.08002.0900

Columns211through220

2.10002.11002.12002.13002.14002.15002.16002.17002.18002.1900

Columns221through230

2.20002.21002.22002.23002.24002.25002.26002.27002.28002.2900

Columns231through240

2.30002.31002.32002.33002.34002.35002.36002.37002.38002.3900

Columns241through250

2.40002.41002.42002.43002.44002.45002.46002.47002.48002.4900

Columns251through260

2.50002.51002.52002.53002.54002.55002.56002.57002.58002.5900

Columns261through270

2.60002.61002.62002.63002.64002.65002.66002.67002.68002.6900

Columns271through280

2

展开阅读全文
相关资源
猜你喜欢
相关搜索
资源标签

当前位置:首页 > 小学教育 > 语文

copyright@ 2008-2023 冰点文库 网站版权所有

经营许可证编号:鄂ICP备19020893号-2