关于matlab画图问题
我要以一个公式来画出函数图像,公式代入数值为x=f;y=50/(50+50+(2*pi*f*0.001)+(1/2*pi*f*0.000001))*10;x轴为对数函数,...
我要以一个公式来画出函数图像,公式代入数值为
x=f;
y=50/(50+50+(2*pi*f*0.001)+(1/2*pi*f*0.000001))*10;
x轴为对数函数,y轴为线性函数。
我输入后,程序出来一组数据如下,
f =
Columns 1 through 8
0 1.0101 2.0202 3.0303 4.0404 5.0505 6.0606 7.0707
Columns 9 through 16
8.0808 9.0909 10.1010 11.1111 12.1212 13.1313 14.1414 15.1515
Columns 17 through 24
16.1616 17.1717 18.1818 19.1919 20.2020 21.2121 22.2222 23.2323
Columns 25 through 32
24.2424 25.2525 26.2626 27.2727 28.2828 29.2929 30.3030 31.3131
Columns 33 through 40
32.3232 33.3333 34.3434 35.3535 36.3636 37.3737 38.3838 39.3939
Columns 41 through 48
40.4040 41.4141 42.4242 43.4343 44.4444 45.4545 46.4646 47.4747
Columns 49 through 56
48.4848 49.4949 50.5051 51.5152 52.5253 53.5354 54.5455 55.5556
Columns 57 through 64
56.5657 57.5758 58.5859 59.5960 60.6061 61.6162 62.6263 63.6364
Columns 65 through 72
64.6465 65.6566 66.6667 67.6768 68.6869 69.6970 70.7071 71.7172
Columns 73 through 80
72.7273 73.7374 74.7475 75.7576 76.7677 77.7778 78.7879 79.7980
Columns 81 through 88
80.8081 81.8182 82.8283 83.8384 84.8485 85.8586 86.8687 87.8788
Columns 89 through 96
88.8889 89.8990 90.9091 91.9192 92.9293 93.9394 94.9495 95.9596
Columns 97 through 100
96.9697 97.9798 98.9899 100.0000
Error using ==> mrdivide
Matrix dimensions must agree
但没有图像出现,请问我该如何解决mrdivide Matrix dimensions must agree这个问题? 展开
x=f;
y=50/(50+50+(2*pi*f*0.001)+(1/2*pi*f*0.000001))*10;
x轴为对数函数,y轴为线性函数。
我输入后,程序出来一组数据如下,
f =
Columns 1 through 8
0 1.0101 2.0202 3.0303 4.0404 5.0505 6.0606 7.0707
Columns 9 through 16
8.0808 9.0909 10.1010 11.1111 12.1212 13.1313 14.1414 15.1515
Columns 17 through 24
16.1616 17.1717 18.1818 19.1919 20.2020 21.2121 22.2222 23.2323
Columns 25 through 32
24.2424 25.2525 26.2626 27.2727 28.2828 29.2929 30.3030 31.3131
Columns 33 through 40
32.3232 33.3333 34.3434 35.3535 36.3636 37.3737 38.3838 39.3939
Columns 41 through 48
40.4040 41.4141 42.4242 43.4343 44.4444 45.4545 46.4646 47.4747
Columns 49 through 56
48.4848 49.4949 50.5051 51.5152 52.5253 53.5354 54.5455 55.5556
Columns 57 through 64
56.5657 57.5758 58.5859 59.5960 60.6061 61.6162 62.6263 63.6364
Columns 65 through 72
64.6465 65.6566 66.6667 67.6768 68.6869 69.6970 70.7071 71.7172
Columns 73 through 80
72.7273 73.7374 74.7475 75.7576 76.7677 77.7778 78.7879 79.7980
Columns 81 through 88
80.8081 81.8182 82.8283 83.8384 84.8485 85.8586 86.8687 87.8788
Columns 89 through 96
88.8889 89.8990 90.9091 91.9192 92.9293 93.9394 94.9495 95.9596
Columns 97 through 100
96.9697 97.9798 98.9899 100.0000
Error using ==> mrdivide
Matrix dimensions must agree
但没有图像出现,请问我该如何解决mrdivide Matrix dimensions must agree这个问题? 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询