photo

TingTing


Active since 2014

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 2
  • First Review
  • Thankful Level 1

View badges

Feeds

View by

Question


How to make a variable content part of a path
I have a string variable, which is changing during the loop, it is named filename and it takes on values like 'file001.txt', 'fi...

7 years ago | 1 answer | 0

1

answer

Question


How to do vlookup with several conditions
I have a matrix called comb which has 4 columns. I want to do something like vlookup but with 4 columns. Lets say the four colum...

7 years ago | 1 answer | 0

1

answer

Question


Is it possible to lable xminortick
I am plotting some data and on the x-axis, it is the hours of the days. I would like to have major tick for the days and the min...

8 years ago | 1 answer | 0

1

answer

Question


How to publish a script including many figures but not opening them on the screen
I have a script which plots many figures. I would like to publish it, with all the figures. But I don't need all the figures to ...

9 years ago | 1 answer | 0

1

answer

Question


Any good ways to read data from messy Excel files?
Hi, I have some data in Excel files. They include variable names and variable contents (usually a column or a row) and some are ...

9 years ago | 0 answers | 0

0

answers

Question


In fitglm, how can I have a predictor as both categorical and ordinal?
I have a predictor variable of AgeGroup. It has value of 1,2, 3... 9. I want it to be categorical and ordinal. However, if I use...

9 years ago | 2 answers | 0

2

answers

Question


How to re-produce an existing variable in the script without using it?
Hi, this sounds silly... I have a variable in my workspace... say it is called A of size (200,1). Each element of it is just a n...

9 years ago | 4 answers | 0

4

answers

Question


Exporting large dataset into Excel
I have a 100000*407 double variable in my workspace and want to save it in Excel. I got error message. I am pretty sure the sint...

9 years ago | 1 answer | 0

1

answer

Question


Very long running time of grpstats
I am using grpstats function to count by one group variable. My dataset is 380,000 by 16. But I am only counting one of the 16 v...

9 years ago | 0 answers | 0

0

answers

Question


How can I know if my license includes Matlab Compiler (SDK) or not?
Thanks!

9 years ago | 1 answer | 1

1

answer

Question


Why does stepwiseglm give me many chosen predictors with p value close to 1
Hi, I ran a stepwiseglm with around 32 predictors and used stepwiseglm with poisson as link function. After nearly 9 hours, it c...

9 years ago | 0 answers | 0

0

answers

Question


Can strsplit be applied to a matrix?
Hi, I am used strsplit to take out 1 from string of "1: abc". I have to loop each string and that takes time. Is there anyway th...

9 years ago | 1 answer | 0

1

answer

Question


How to create new variables in batches with strcat
Hi, What I want to do is something like for m=1:11 for i=1:3 for k=1:5 for x=1:9 ...

9 years ago | 1 answer | 2

1

answer

Question


Can xlsread (Matlab) read pre-named range in Excel by range name?
Hi, I know xlsread can read precise the range you specify, for example A= xlsread(filename,'Sheet1','I1:I2') However, I hav...

9 years ago | 2 answers | 1

2

answers

Question


How to find the variable by cell array contents
Hi, I have a cell array that looks like this: <</matlabcentral/answers/uploaded_files/26089/MyCell.JPG>> It's (2,10) ele...

9 years ago | 1 answer | 0

1

answer

Question


How the CI of GLM parameters are calculated?
I need to have the distributions of the coefficients estimated by glm model. I tried to find them and tested if the ones I found...

10 years ago | 1 answer | 0

1

answer

Question


How to obtain the values of parameters of the response distribution in GLM
Say I have a datast called dataset modelspec = 'Y ~ x1 + x2+ x3 + x4 + x5'; mdl_invG = fitglm(dataset, modelspec, 'Dis...

10 years ago | 0 answers | 0

0

answers

Question


fitglm warning message "Warning: Iteration limit reached"
What does that mean? My dataset has 215 observations. Is it too small? Thanks a lot!

10 years ago | 0 answers | 1

0

answers

Question


Does this mean my dataset has too few observations?
I ran a GLM regression with 5 indepedent variables. My dataset contains 238 observations and I got error message like this: ...

10 years ago | 1 answer | 0

1

answer

Question


How can I save all screen outputs and figures generated in one MS Word file?
Hi, I'm running some scripts which generate some results on the screen and some figures plotted. I know diary can save all scree...

10 years ago | 1 answer | 0

1

answer

Question


How to calculate AIC in glmfit?
Please help me with this! How to calculate AIC in glmfit? I use gamma and log as link function. Thanks a lot!

10 years ago | 1 answer | 0

1

answer

Question


How to read GLM results / choose the best model?
Hi, I am wondering in Matlab, which indicator should be used to choose the best model? When I use fitglm, in addition to the ...

10 years ago | 0 answers | 0

0

answers

Question


Got Error message (OutOfMemoryError) when I just started Matlab. Why?
Hi, this sounds a stupid question... I start my Matlab session, and barely defined ore or two variables and a full screen of err...

10 years ago | 0 answers | 0

0

answers

Question


Why I get different outcomes from iteration as part of a big function and iteration as main part of a small function
Hi, I'm really bothered by this issue and will appreciate help very much. I have a while loop which has only 7 lines and i...

10 years ago | 0 answers | 0

0

answers

Question


How to print out cell array to CSV file?
Hi, I have a large cell array (600000*75). I just want to write it into CSV file. It has both numeric and text values. How s...

10 years ago | 1 answer | 0

1

answer