我有一個很簡單的問題,對MATLAB用戶: 如果我加載使用LOAD命令的圖形文件(.FIG),有沒有辦法來改變繪製線條的命令行屬性? (寬度,顏色,標記等) PD:根據的信息前兩個選項Defining the Color of Lines for Plotting On this page…只有在使用plot命令時纔有效。顯然,如果你加載這個數字,它們就沒用了。
我有一組數據,我已經從數據庫中取出。我已經在一個數字窗口中顯示了它們,但是我想要一個按鈕,在該窗口中關閉數字窗口或者執行一些其他功能。 這是我到目前爲止的代碼: f = figure('Position',[200 200 250 500]); % size of the figure object
dat = listofPdb.Data;
set(f,'name','List of PDB
我有一個墊子文件和MATLAB的命令窗口順利運行GUI,但是當我編譯它,它顯示了一個錯誤說: ??? Error using ==> charms_OutputFcn
variable output array 'varargout' must be a cell array.
Error in ==> gui_mainfcn 248
Error in ==> charms at 40
一個數字,這是我的matlab源代碼 % let 'y' is a workspace file containg sampled data from DSO.
fs=2500; %sampling freq
T=1/fs; % sample time
L=2500; % length of the signal
t=(0:L-1)*T; %time vector
NFFT=2^nex