photo

Chet Sharma


Last seen: 8 months ago Active since 2017

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 2
  • First Review
  • First Answer

View badges

Feeds

View by

Answered
repeated sampling from sobol (or halton) sequence
Looks like the answer may be much simpler: x1 = RandStream('mt19937ar') x2 = randn(x1, 4, 1)

2 years ago | 0

Question


repeated sampling from sobol (or halton) sequence
Hello Very new to the idea of Quasi RN sampling. Starting point: If I had to sample 20 times from the standard normal (5 rando...

2 years ago | 1 answer | 0

1

answer

Question


Modify off diagonal elements of Matrix without looping
Hello I have a MXM matrix. Is there a way to set off diagonal elements to a specified value (.e.g. I want all off-diagonal elem...

2 years ago | 2 answers | 0

2

answers

Question


Create a row vector with specific condition
Hi I'd like to make a row vector as follows: rowVect = [x y y y y y] Right now, I'm doing: rowVec = x rowVec(2:...

6 years ago | 1 answer | 0

1

answer

Question


readtable and table2array
Hi I have a large data set (hourly electricity load data for 1 year, so 8760 observations). This is an excel file, so I used t...

6 years ago | 1 answer | 0

1

answer

Answered
Vector dimensions and variable display
Thanks sir - coming around to that way of thinking.....and going to implement that.

7 years ago | 0

Question


Vector dimensions and variable display
Hi This is a question about how Matlab displays certain variables, depending on the number of dimensions contained. When I gene...

7 years ago | 1 answer | 0

1

answer

Answered
Generating a string of random standard normal variables that are correlated
I think you should refer Hull's option book. In the 8th edition, chapter 20, page 450, I believe you will find out answer. He de...

7 years ago | 0

Answered
creating vector arrays from data set
I think all answeres were useful here...so do I accept all answers (that were not provided by me, I mean)? On another note, I...

7 years ago | 0

Question


creating vector arrays from data set
Hi I have an hourly data set of electric load by day. E.g. for each day of Jan'00; I have 24 hours of electric load.I would li...

7 years ago | 2 answers | 0

2

answers

Answered
save function; path and file name as variables
This seems to work: MyDir='C:\Dir\'; MyScript='RegExample.m'; MyFile=strcat(MyDir,MyScript); save(MyFile) If t...

7 years ago | 0

| accepted

Question


save function; path and file name as variables
Matlabe newbie - so please bear with me. I want to use save, but make the file path and file name as variables: MyDir='C:\T...

7 years ago | 1 answer | 0

1

answer

Question


Options for running Matlab in excel with a home use license
Hi For context; link: <https://www.mathworks.com/matlabcentral/fileexchange/47667-natural-gas-storage-valuation> The downl...

7 years ago | 1 answer | 0

1

answer