回答済み
a small problem with interpolation
It appears to be a bug in this contribution. You have two options: # report this to the author on the FEX and wait for H...

12年以上 前 | 0

| 採用済み

回答済み
Using todaily() without holidays
% Sample data data = [datenum(2012,10:13,1)',(1:4)']; % Retrieve all days dates = (data(1):data(end,1))'; ...

12年以上 前 | 0

| 採用済み

回答済み
Importing data from excel
It seems that R2007b wasn't still able to import |.xlsx| files. I found the first reference to this type only from R2009a! ...

12年以上 前 | 0

| 採用済み

回答済み
xlswrite an empty string
You can control the excel file directly without importing it through ActiveX: % Open the excel file (it remains invisible how...

12年以上 前 | 0

| 採用済み

回答済み
How to tell Matlab to ignore NaNs in calculations/loops
If you have the Statistics or the Financial toolbox, use <http://www.mathworks.co.uk/help/stats/nanmean.html |nanmean()|>. *E...

12年以上 前 | 0

回答済み
How to update edit box's callback as soon as entering data?
There is a problem with the edit box, I show a solution here: http://www.mathworks.in/matlabcentral/answers/33136#answer_41732 ...

12年以上 前 | 0

回答済み
Bizarre results with inpaint_nans
|inpaint_nans()| uses a 4 neighborood algorithm because it's designed for images. Thus, looping by column hides the two adjacent...

12年以上 前 | 0

| 採用済み

回答済み
Import and read ascii files located in different folders
You are creating the PATH_TD = ['G:\MET_' int2str(month) '\trans_2011' int2str(month) int2str(j) '00_txt\val_dew2011' int2...

12年以上 前 | 0

回答済み
Comining the values and merging
B = num2cell(A,1); B = [B{:,1} strcat(B{2:5}) strcat(B{3:6}) strcat(B{4:7}) strcat(B{5:8})];

12年以上 前 | 0

回答済み
How to read folders of diferent names extensions
% retrieve all subfolders's names s = dir('yourpath'); idx = [s(:).isdir]; names = {s(idx).name}'; % Remove ...

12年以上 前 | 3

| 採用済み

回答済み
creating additonal rows of NaN in specific positions
Very similar to your previous question. You have to build the |idx| accordingly. Nte that the |idx| stores the row position wher...

12年以上 前 | 2

| 採用済み

回答済み
How do I count the number of NaNs in a Vector?
[minval,idx] = min(sum(isnan(a)))

12年以上 前 | 2

回答済み
Out of memory issue
Use |./| instead of |/|. Elementwise division.

12年以上 前 | 0

回答済み
changing the date format of a vector
datestr(A,'dd/mm/yy')

12年以上 前 | 0

| 採用済み

回答済み
Binning elements between limits
Yes the function is called <http://www.mathworks.co.uk/help/matlab/ref/histc.html |histc()|>. Read the documentation *carefully*...

12年以上 前 | 1

回答済み
about title of GUI
You can control the size of the font with the property |_'FontSize'_|: title('keyframe video','Fontsize',14);

12年以上 前 | 0

回答済み
about controling of figure
You cannot: your request constitutes a breach of MathWorks license agreement. <http://www.mathworks.co.uk/support/solutions...

12年以上 前 | 1

回答済み
handling irregular observations. Maybe more progress needs to be made by Matlab team
I gave a look at SAS and honestly I don't understand how they got those values! My approach was to take intra-month averages ...

12年以上 前 | 0

| 採用済み

回答済み
increase the length of a martix every 5 rows
The efficient code: [r,c] = size(A); add = floor(r/5); Anew = NaN(r + add,c); idx = (...

12年以上 前 | 1

| 採用済み

回答済み
matlab from basic scratch
http://www.mathworks.co.uk/company/events/webinars/index.html You can only watch them online, no download is allowed.

12年以上 前 | 1

回答済み
how to create a loop for matrix iteration
*DO NOT* do that! Read this FAQ: <http://matlab.wikia.com/wiki/FAQ#How_can_I_create_variables_A1.2C_A2.2C....2CA10_in_a_loop....

12年以上 前 | 2

回答済み
ordering open .m files in the windows menu.
|right click > alphabetize| OR It can be done using the API editor introduced with R2011a: http://blogs.mathworks.com/com...

12年以上 前 | 1

回答済み
How to construct a script to create a vector of variables from many different scripts
It's hard to say without knowing what you do in the scripts, but two things: * |metastat| is not |metaCSstat| * If you are u...

12年以上 前 | 0

回答済み
Parallel toolbox computing question
You cannot call in parallel the 3rd function only since it depends on the inputs generated by function 2 and 1. If the whole ...

12年以上 前 | 0

回答済み
A question: Eviews-Matlab interface?
Actually I found this white paper: http://www.eviews.com/download/whitepapers/EViews_COM_Automation.pdf So virtually you can ...

12年以上 前 | 1

| 採用済み

回答済み
how to save a file into another folder by using uiputfile
If you can ask where to put it first then you can simply solve your problems with: fileID = fopen('...\chosenDir\output.dat...

12年以上 前 | 5

| 採用済み

回答済み
Solve an expression including a function
Bring everything to LHS: solve('expression - f(function(x))','x')

12年以上 前 | 1

回答済み
data frequency conversion problem
*EDIT#2* I didn't notice at first that it had different series. Added also linear interpolation of NaNs: % Inpaint NaNs and k...

12年以上 前 | 1

| 採用済み

回答済み
How can I join two text string within two cell arrays
What about this alternative approach: data = urlread('http://weather.noaa.gov/cgi-bin/fmtbltn.pl?file=forecasts/marine/coas...

12年以上 前 | 1

回答済み
p value to z score
Use <http://www.mathworks.co.uk/help/stats/icdf.html |icdf()|> from the Statistics Toolbox. For (standard) normal: icdf(...

12年以上 前 | 0

さらに読み込む