photo

Snoopy


Last seen: Today Attivo dal 2015

Followers: 0   Following: 0

Messaggio

Programming Languages:
MATLAB
Spoken Languages:
English
Pronouns:
He/him

Statistica

  • Thankful Level 4
  • First Answer

Visualizza badge

Feeds

Visto da

Risposto
Automatic line selection bug
Why not make this optinal. I do not get what this huge white space is for...

circa 8 ore fa | 0

Risposto
Automatic line selection bug
Technical Support's reply: "Unfortunately, this behavior is not a bug. This is an enhancement and intentional change made in R20...

circa 9 ore fa | 0

| accettato

Domanda


Automatic line selection bug
When I click on a line in the Editor and scroll the mouse cursor up or down, MATLAB automatically selects and highlights across ...

3 giorni fa | 3 risposte | 0

3

risposte

Domanda


Can the random function accommodate the randi function?
I am using randi([0,1],[N,1]); to randomly generate 0s and 1s. If I am not mistaken, the random function is replacing the...

3 giorni fa | 2 risposte | 0

2

risposte

Domanda


Is giving a space after comma in functions the convention?
I more often see y = pdf('t', x, df); than y = pdf('t',x,df); That is, people often give a space after comma when writing t...

2 mesi fa | 3 risposte | 0

3

risposte

Domanda


How does MATLAB generate the probability density function?
I am using the pdf function (https://nl.mathworks.com/help/stats/prob.normaldistribution.pdf.html) to just visuilize the pdf of ...

2 mesi fa | 2 risposte | 0

2

risposte

Risposto
What are the specifics of MATLAB home license?
To determine which add-ons cannot be used on Home license, - go to https://nl.mathworks.com/pricing-licensing.html?prodcode=ML...

circa un anno fa | 0

Domanda


What are the specifics of MATLAB home license?
I would like to ask two quesitons. First, I am trying to understand the difference between home and professional version of MATL...

circa un anno fa | 2 risposte | 0

2

risposte

Domanda


Why does the table command change display format?
I set the display format to "short" because I want that 4 digits are shown after the decimal point, like 0.3124. I crate a "tabl...

oltre un anno fa | 1 risposta | 0

1

risposta

Domanda


Saving a structure array, not fields of it
I have a structure array called s1 in the Workspace. I want to save it as it is so that when I load it, I want to see just s1 in...

oltre un anno fa | 1 risposta | 0

1

risposta

Domanda


Why DerivativeCheck would be allowed to be on while there is no GradObj?
When GradObj is off, and DerivativeCheck is on, fmincon starts to run without any error or warning. Why would this be the case? ...

quasi 2 anni fa | 4 risposte | 2

4

risposte

Domanda


Why does an array have a different column dimension than the array used to define that array?
I enclose a m file and a small data file. A is a column array with dimension 3233 by 1. B is a column array defined using A and ...

quasi 2 anni fa | 1 risposta | 0

1

risposta

Domanda


Right-hand text limit does not appear in script file
I have several script files. In some the right-hand text limit appears while in few others it does not. When I delete some code ...

quasi 2 anni fa | 1 risposta | 0

1

risposta

Domanda


MATLAB Add AWS Credentials error
I am trying to setup an AWS account within MATLAB. I get the error in the enclosed screenshot. Can anyone help?

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


Do I need to initiate the parallel computing toolbox for my code to run on multiple cores?
I have a function that I minimize using fmincon. I am exploring the possibility of making my code run faster. I got rid of all f...

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


Why Halton draws do not lead to standard normal draws?
fun.m is a function generating Halton draws and standard normal draws based on that. Copyright information: the function is a si...

oltre 2 anni fa | 0 risposte | 0

0

risposte

Domanda


Why does my objective function return complex?
I have a likelihood function that I need to minimize. I use fmincon to search for the minimum. Iterations of fmincon sometimes s...

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


Can this for loop be vectorized?
The for loop below runs over the third dimension (page) to fill the alpha array. Is it possible to vectorize this for loop? al...

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


Can MATLAB be made cheaper?
I use MATLAB intensively for econometric research but also teaching. There is an increasing pressure or recommendation from both...

quasi 3 anni fa | 2 risposte | 1

2

risposte

Risposto
Is it possible to publish MATLAB code that can be executed online?
I managed to publish my code as html. Please see https://matlab.mathworks.com/users/mwa0000001754528/Published/html/exercisesims...

quasi 3 anni fa | 0

Domanda


Histogram of overlaid standard normal draws
The code below overlays histograms of two sets of standard normal draws. I also attach the graph itself. These draws are based o...

circa 3 anni fa | 1 risposta | 1

1

risposta

Domanda


fmincon and the Objective function returned NaN warning
I minize the negative of a log-likehood function to estimate the parameters of a mixed logit regression model. I use fmincon to ...

circa 3 anni fa | 1 risposta | 0

1

risposta

Domanda


GlobalSearch and fmincon options
I use GlobalSearch for minizing a function. I use fmincon as the solver. Does using fmincon as the solver mean that I can make u...

circa 3 anni fa | 1 risposta | 0

1

risposta

Domanda


Lower and Upper bounds in GlobalSearch
I am maximizin a log-likelihood function in an empirical econometric research to estimate a mixed logit model. For this purpose ...

circa 3 anni fa | 0 risposte | 0

0

risposte

Domanda


Generating independent Halton sequences in same session
I would like to create two Halton sequences which should be independent of each other. I use the code below. I am worried that t...

oltre 3 anni fa | 0 risposte | 0

0

risposte

Domanda


10 raised to the power
When I multiply two matrices element wise (which is probably not important to my question), some numbers appear as 3.40000000000...

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


Size of the unique elements and size of the output of accumarray
Why are the sizes of the two arrays, unique and accumarray, not the same? size(unique(MAT(:,1))) size(accumarray(MAT(:,1),MAT(...

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


Is it possible to publish MATLAB code that can be executed online?
I have simple .m file. It contains a simulation that demonstrates the law of large numbers with a figure. What I want to do is t...

circa 4 anni fa | 2 risposte | 1

2

risposte

Domanda


Link to MATLAB documentation
In the MATLAB documentation, the "random" function is explained here https://nl.mathworks.com/help/stats/prob.normaldistribution...

quasi 6 anni fa | 1 risposta | 0

1

risposta

Domanda


Creating a function that returns multiple graphs
I would like to create a function that returns as output arguments two different histograms such that in the script file either ...

quasi 6 anni fa | 1 risposta | 0

1

risposta

Carica altro