Matlab中的CVX工具包安装
畢設做壓縮感知,不知道如何入手。已經安裝了Matlab2012a(x64),裝個CVX工具包,主要是想用還原算法。如果有一起做壓縮感知的,歡迎一起討論啊~
首先去CVX工具包官方網站:http://cvxr.com/cvx/
工具包安裝說明在?http://cvxr.com/cvx/doc/install.html
本人下載的CVX2.1
在安裝說明中:
As of version 2.0, support for versions 7.4 (R2007a) or older has been discontinued. If you need to use CVX with these older versions of Matlab, please use CVX 1.22 or earlier, which will remain available indefinitely on the CVX Research web site.?
意思是CVX2.0版本只能用在Matlab2007版本以后。
一下是安裝過程原文:
Unpack the file anywhere you like; a directory called?cvx?will be created. There are two important exceptions:
- Do not?place CVX in Matlab’s own?toolbox?directory, Octave’s built-in scripts directory.
- Do not?unpack a new version of CVX on top of an old one. We recommend moving the old version out of the way, but do not delete it until you are sure the new version is working as you expect.
Start Matlab or Octave.?Do not add CVX to your path by hand.
Change directories to the top of the CVX distribution, and run the?cvx_setup?command. For example, if you installed CVX into?C\personal\cvx?on Windows, type these commands:
cd C:\personal\cvx cvx_setup1.解壓下載壓縮包,不要解壓到Matlab自帶的toolbox下,我解壓到/Matlab2012/mytools(個人自建路徑)。另外不要如果之前安裝過CVX,解壓時不要覆蓋老版本文件。解壓后該路徑下會生成一個cvx文件夾。
2.啟動Matlab
3.在Current Folder窗口中打開cvx文件夾
4.在Command Window中輸入cvx_setup
然后等待安裝成功,PATH和reference都自動設置好了,不需要手動設置~
總結
以上是生活随笔為你收集整理的Matlab中的CVX工具包安装的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 酉矩阵
- 下一篇: 初识压缩感知 compressive s