Community Profile

photo

Abhinav


Last seen: 3 days ago

36 total contributions since 2014

Contact

Abhinav's Badges

  • First Review
  • Thankful Level 3
  • Solver

View details...

Contributions in
View by

Question


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...

5 months ago | 0 answers | 0

0

answers

Question


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...

6 months ago | 1 answer | 0

1

answer

Question


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...

1 year ago | 0 answers | 0

0

answers

Question


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'};...

1 year ago | 0 answers | 0

0

answers

Question


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...

2 years ago | 1 answer | 0

1

answer

Question


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...

2 years ago | 1 answer | 0

1

answer

Question


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...

2 years ago | 1 answer | 0

1

answer

Question


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...

2 years ago | 1 answer | 0

1

answer

Question


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...

2 years ago | 1 answer | 0

1

answer

Question


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...

2 years ago | 1 answer | 0

1

answer

Question


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...

2 years ago | 1 answer | 0

1

answer

Question


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...

2 years ago | 0 answers | 0

0

answers

Question


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...

2 years ago | 0 answers | 0

0

answers

Question


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 ...

2 years ago | 2 answers | 0

2

answers

Question


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...

2 years ago | 2 answers | 0

2

answers

Question


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...

2 years ago | 3 answers | 0

3

answers

Question


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...

2 years ago | 1 answer | 0

1

answer

Question


how to split a string at apostrophe using strsplit
I have a string '40°50'24', I want to separate the string at '&#176' and apostrophe between 50 and 24. Therefore, I am expe...

2 years ago | 1 answer | 0

1

answer

Question


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...

2 years ago | 1 answer | 0

1

answer

Question


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...

2 years ago | 1 answer | 0

1

answer

Question


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...

2 years ago | 1 answer | 0

1

answer

Question


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...

2 years ago | 1 answer | 0

1

answer

Question


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...

2 years ago | 1 answer | 0

1

answer

Question


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:...

3 years ago | 1 answer | 0

1

answer

Question


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...

3 years ago | 3 answers | 1

3

answers

Question


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...

3 years ago | 1 answer | 0

1

answer

Question


'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...

3 years ago | 1 answer | 0

1

answer

Question


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 ...

3 years ago | 0 answers | 1

0

answers

Question


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...

3 years ago | 0 answers | 0

0

answers

Question


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:...

3 years ago | 1 answer | 0

1

answer

Load more