Community Profile # Chet Sharma

Last seen: 5 månader ago Active since 2017

#### Statistics

• • • #### Content Feed

View by

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

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

### 1

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

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

nästan 5 år ago | 1 answer | 0

### 1

Question

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

nästan 5 år ago | 1 answer | 0

### 1

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

nästan 5 år 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...

nästan 5 år ago | 1 answer | 0

### 1

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

ungefär 5 år ago | 0

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

ungefär 5 år 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...

ungefär 5 år ago | 2 answers | 0

### 2

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

ungefär 5 år 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...

ungefär 5 år ago | 1 answer | 0