Feeds
提问
How to estimate quantiles in treebagger
I am using Treebagger in MATLAB 2014a to apply Random Forest. Is there a way to find out all the ensemble predictions instead o...
4 years 前 | 0 个回答 | 0
0
个回答提问
readtable is not reading the time 12:00:00 AM?
I am using 'readtable' to read an excel file. The first column of the file contains date and time in 'mm/dd/yyyy HH:MM:SS PM' fo...
4 years 前 | 4 个回答 | 0
4
个回答提问
Error downloading URL. Your network connection may be down or your proxy settings improperly configured.
Hello, I am using the function urlwrite to downlaod a lot of html pages in a for loop. As an example, following is the url of on...
5 years 前 | 0 个回答 | 0
0
个回答提问
Border disappear when I use 'print' to save a plot
I am using the following code to create 4 subplots: labels={'reliability','resilience','vulnerability','watershed health'};...
5 years 前 | 0 个回答 | 1
0
个回答提问
normpdf and integral: non-scalalr arguments must match in size
I want to compute a numerical integration problem, the code for which is as follows mu=0; sig2_tmp=1; k=100; samps=nor...
6 years 前 | 1 个回答 | 0
1
个回答提问
How to solve floating point problem with datenum
I want to find missing dates from a cell-array of dates. I have attached the cell-array with the question. My solution to the pr...
6 years 前 | 1 个回答 | 0
1
个回答提问
Different values of datnumber for same date-time?
When I convert given date-number '2011-01-06 0:45' by datenum(2011-01-06 0:45,'yyyy-mm-dd HH:MM') I get 734509.031...
6 years 前 | 1 个回答 | 0
1
个回答提问
Global variables in parfor loop
I am using global variables in parfor loop and I get following m-lint The code uses a global variable in a parfor loop. Beca...
6 years 前 | 1 个回答 | 0
1
个回答提问
speed-up the given code
The following code is taking a most of the time in my script and I have to run the script many times Is there a way to reduce th...
6 years 前 | 1 个回答 | 0
1
个回答提问
plotyy: changing the line-style to 'o--'
I have three line-plots on left y-axis and a bar plot on the right y-axis. how do I change line-style to 'o--' for every line on...
6 years 前 | 1 个回答 | 0
1
个回答提问
datetime: Undefined function 'datetime' for input arguments of type 'double'
I am using following code to convert datenum to datetime x=723707; y=datetime(x,'ConvertFrom','datenum'); I get the e...
6 years 前 | 1 个回答 | 0
1
个回答提问
DERIVESTsuite: jacobian of a MATLAB defined function
I am using 'jacobianest' function of the MATLAB file exchange file 'DERIVEstsuite'. My function is defined only for positive val...
6 years 前 | 0 个回答 | 0
0
个回答提问
numerical differentiation with constraints on the parameter space
I want to compute the derivatives of a non-analytic function. I see there are packages available (for example, DERIVESTsuite) to...
6 years 前 | 0 个回答 | 0
0
个回答提问
copyfile: The system cannot find the path specified
I get the follwoing error when using copyfile The system cannot find the path specified. I am using the following code ...
6 years 前 | 4 个回答 | 0
4
个回答提问
plotyy: how to use 'datetick' on both axis
I used 'plotyy' to plot some data on left and right y-axis. Both the data have xaxis in date format. Therefore, at first, I plot...
6 years 前 | 2 个回答 | 0
2
个回答提问
sprintf: how to efficiently create a string of 75 numbers, separated by comma
I have an array which contains 75 numeric elements. I want to write these numbers as a string separated by a comma. If there wer...
6 years 前 | 3 个回答 | 0
3
个回答提问
Copyfile: No matching files were found
This is the example of a code I am writing: filename=strcat('p_',prcp_lat(i),'0','_',prcp_long(i),'0','.txt'); sou...
6 years 前 | 1 个回答 | 1
1
个回答提问
how to split a string at apostrophe using strsplit
I have a string '40°50'24', I want to separate the string at '°' and apostrophe between 50 and 24. Therefore, I am expe...
6 years 前 | 1 个回答 | 0
1
个回答提问
Reading a textfile without removing leading zeros
I want to read the attached text-file which contains two columns: text and numeric. I used the code: fileID=fopen('NWISM...
6 years 前 | 1 个回答 | 0
1
个回答提问
How to read particular dates from an HTML script?
I have downloaded HTML script of of few webpages; one is uploaded for reference. My task is to extract some information from the...
6 years 前 | 1 个回答 | 0
1
个回答提问
Downlaoding data from a webpage
I want to save the data shown on USGS webpage: <https://waterdata.usgs.gov/nwis/dv?cb_00060=on&format=rdb&site_no=03347000&r...
6 years 前 | 1 个回答 | 0
1
个回答提问
How to plot a surface-like plot when the data is not regularly spaced
I have 3-d data, where first two columns (x,y) are independent and the third column (z) is dependent upon first two. I want to h...
7 years 前 | 1 个回答 | 0
1
个回答提问
logpdf or pdf in mhsample
I am using 'mhsample' function for Metropolis-Hastings sampling from a posterior distribution. I am not sure if I should use pdf...
7 years 前 | 1 个回答 | 0
1
个回答提问
problem in using parralel computing toolbox
I want to speed up my computations using parfor. I am using the code written below, l=31:1:1000; % length-scale sig2=6.5:...
7 years 前 | 1 个回答 | 0
1
个回答提问
incosistent matrix multiplication and probelm with covarince matrix
I have a covariance matrix (S) which was computed using S=J*C*J'; where C is a diagonal matrix and J is another mat...
7 years 前 | 3 个回答 | 1
3
个回答提问
convolution of two probability density functions
I am considering two exponential probability distribution functions with mean equal to 5 and 3. pdf1=@(x)exppdf(x,5); pdf...
7 years 前 | 1 个回答 | 0
1
个回答提问
'too many input arguments' in mhsample
I am having the error 'too many input arguments' during my function call which itself is called by another built-in MatLab funct...
7 years 前 | 1 个回答 | 0
1
个回答提问
What algorithm does random(makedist) use
I have a pdf similar to the generalized normal distribution function, but it has an additional complication so that it includes ...
7 years 前 | 0 个回答 | 1
0
个回答提问
matrix is close to singular or badly scaled, what do you interpret by this error.
I am using MatLab solver 'fmincon' for an optimization problem. Everything seems to be working good except I got one error warni...
7 years 前 | 0 个回答 | 0
0
个回答提问
area under a pdf not 1?
I have convoluted two pdfs. Both of my pdfs are exponential with lambda=10 and 20, respectively. I have used the following code:...
7 years 前 | 1 个回答 | 0