最近工作上實在有點使不上力,感覺之前老闆要我作的說穿了只是為了要應該是把多了解LTE Physical layer 的處理 但是又要我交給他模擬,真是把我給弄糊塗了 眼下最重要的是把下行給弄的在清處些,尤其是feedback 還有HARQ 要是這些東西有人可以一起討論該有多好 替自己加油吧;-)
2012年1月10日 星期二
2011年12月7日 星期三
BatMan Equation
It's a interesting equation. Here is the matlab code for batman logo.
% Grey axes
axes('Xlim' ,[-7 7] , 'Xtick' ,-7:7,...
'Ylim' ,[-5 5] , 'Ytick' ,-5:5,...
'YtickL','' , 'XtickL','' ,...
'Ygrid' ,'on' , 'Xgrid' ,'on',...
'Xcolor',[.8 .8 .8], 'Ycolor',[.8 .8 .8]);
hold on
% Outer wings
f1 = '(x/7)^2 * sqrt(abs(abs(x)-3)/(abs(x)-3)) + (y/3)^2 * sqrt(abs(y + 3/7*sqrt(33))/(y + 3/7*sqrt(33))) - 1'; ezplot(f1,[-8 8 -3*sqrt(33)/7 6-4*sqrt(33)/7]);
% Bottom
f2 = 'abs(x/2)-(3*sqrt(33)-7) * x^2/112 - 3 + sqrt(1-(abs(abs(x)-2)-1)^2) - y'; ezplot(f2,[-4 4]);
% Outer ears
f3 = '9 * sqrt(abs((1-abs(x))*(abs(x)-0.75)) / ((1-abs(x))*(abs(x)-0.75))) - 8*abs(x) - y'; ezplot(f3,[-1 -0.75 -5 5]); ezplot(f3,[ 0.75 1 -5 5]);
% Inner ears
f4 = '3*abs(x) + 0.75*sqrt(abs((0.75-abs(x))*(abs(x)-.5)) / ((.75-abs(x))*(abs(x)-.5))) - y'; ezplot(f4,[-0.75 0.75 2.25 5]);
% Connect inner ears (flat line)
f5 = '2.25*sqrt(abs(((0.5-x)*(0.5+x))/((0.5-x)*(0.5+x)))) - y'; ezplot(f5,[-0.5 0.5 -5 5]);
% Inner wings
f6 = '6*sqrt(10)/7 + (1.5-0.5*abs(x)) * sqrt(abs(abs(x)-1) / (abs(x)-1)) - 6*sqrt(10)/14 * sqrt(4-(abs(x)-1)^2) - y'; ezplot(f6,[-3 -1 -5 5]); ezplot(f6,[ 1 3 -5 5]);
% Change line color and width
set(get(gca,'children'),'Color','b','Linew',2)
% Title and labels
title('Batman'); xlabel(''); ylabel('')
% Superimpose black axes with xy-ticklabels
xlbl(1:15,1:2) = ' '; xlbl([1,8,15],:) = ['-7';' 0';' 7']; ylbl(1:11,1:2) = ' '; ylbl([1,6,11],:) = ['-5';' 0';' 5'];
axes('Xlim' ,[-7 7], 'Xtick' ,-7:7,...
'Ylim' ,[-5 5], 'Ytick' ,-5:5,...
'YtickL',ylbl , 'XtickL',xlbl,...
'Box' ,'on' , 'Color' ,'none');
ref:
2011年11月17日 星期四
Ubuntu panel problem
Problem: I can't find the network manager on top panel
Solution:
sudo gedit /etc/NetworkManager/nm-system-settings.conf
# This file is installed into /etc/NetworkManager, and is loaded by
# NetworkManager by default. To override, specify: '--config file'
# during NM startup. This can be done by appending to DAEMON_OPTS in
# the file:
#
# /etc/default/NetworkManager
#
[main]
plugins=ifupdown,keyfile
[ifupdown]
managed=true
Solution2:
Solution:
sudo gedit /etc/NetworkManager/nm-system-settings.conf
# This file is installed into /etc/NetworkManager, and is loaded by
# NetworkManager by default. To override, specify: '--config file'
# during NM startup. This can be done by appending to DAEMON_OPTS in
# the file:
#
# /etc/default/NetworkManager
#
[main]
plugins=ifupdown,keyfile
[ifupdown]
managed=true
Solution2:
1.gconftool --recursive-unset /apps/panel
2.rm -rf ~/.gconf/apps/panel
3.pkill gnome-panel
ubuntu firefox is already running but is not responding
solution
-open terminal
-killall firefox
- restart your browser
-open terminal
-killall firefox
- restart your browser
Ubuntu network mangager can't save
Today I found some problem when I setting static IP for ubuntu 11.04.
I using network manager GUI interface ,and set eth0 manual. After setting up the IP addrerss, i cant't press save button . And the step below can solve the proble.
Here's what I do :
1. Right click on NM applet and choose "Edit Connections"
2. Click "Add" to create a new wired connection.
3. Give it a name, like "Static 192.168.1.150"
4. Click on IPv4 settings
5. Click Method and change to "Manual".
6. Click "Add"
7. Double click on Address bit - enter address, remember to hit return.
8. Do the same for netmask - remember that return button at the end.
9. Do the Gateway, and yep - hit return to save everything.
10. Optionally configure DNS and search domains. I usually stick DNS as the gateway address.
11. Hit Apply and close the dialog.
12. Finally, left click on NM applet and choose your "Static 192.168.1.150" entry.
ref:http://ubuntuforums.org/showthread.php?t=1278133&page=2
I using network manager GUI interface ,and set eth0 manual. After setting up the IP addrerss, i cant't press save button . And the step below can solve the proble.
Here's what I do :
1. Right click on NM applet and choose "Edit Connections"
2. Click "Add" to create a new wired connection.
3. Give it a name, like "Static 192.168.1.150"
4. Click on IPv4 settings
5. Click Method and change to "Manual".
6. Click "Add"
7. Double click on Address bit - enter address, remember to hit return.
8. Do the same for netmask - remember that return button at the end.
9. Do the Gateway, and yep - hit return to save everything.
10. Optionally configure DNS and search domains. I usually stick DNS as the gateway address.
11. Hit Apply and close the dialog.
12. Finally, left click on NM applet and choose your "Static 192.168.1.150" entry.
ref:http://ubuntuforums.org/showthread.php?t=1278133&page=2
2011年11月16日 星期三
2011年11月13日 星期日
Ubuntu Mount ISO image
1.首先我們要建立iso檔的掛載路徑:
sudo mkdir /media/iso && sudo modprobe loop
2.切換到/media的目錄下建立一個iso資料夾:
cd /media
sudo mkdir iso
3.接下來切換到下載好iso的存放路徑下,例如下載好的檔案放在家目錄:
cd ~
4.掛載iso到指定目錄,假設檔案名稱是EPT.iso:
sudo mount -t iso9660 -o loop EPT.iso /media/iso/
5.這樣切換到/media/iso就可以看到iso的內容了
cd /media/iso
ls -l
另外如果要卸載iso檔請執行下列指令:
sudo umount /media/iso
Ref:http://ithelp.ithome.com.tw/question/10027617
sudo mkdir /media/iso && sudo modprobe loop
2.切換到/media的目錄下建立一個iso資料夾:
cd /media
sudo mkdir iso
3.接下來切換到下載好iso的存放路徑下,例如下載好的檔案放在家目錄:
cd ~
4.掛載iso到指定目錄,假設檔案名稱是EPT.iso:
sudo mount -t iso9660 -o loop EPT.iso /media/iso/
5.這樣切換到/media/iso就可以看到iso的內容了
cd /media/iso
ls -l
另外如果要卸載iso檔請執行下列指令:
sudo umount /media/iso
Ref:http://ithelp.ithome.com.tw/question/10027617
訂閱:
文章 (Atom)