# Wesser

**Statistics**

**MATLAB Answers**

**28** Questions

**0** Answers

RANK**146,667**

of 265,146

REPUTATION**0**

CONTRIBUTIONS

**28** Questions

**0** Answers

ANSWER ACCEPTANCE **
53.57%
**

VOTES RECEIVED**0**

RANK

of 18,111

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 116,241

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Question

Number generator for 0.00006 to 30 range

I am attempting to run monte carlo simulations and wanted a random number between the end members of 0.000069 and 30 to populate...

15 days ago | 2 answers | 0

### 2

answersQuestion

How to remove a slash from fullfile?

I want the file path for wtf to read: 'C:\Users\jessi\Desktop\HydrusMC\Simulations\MC_1\Obs_Node.out' but with the code as scri...

16 days ago | 2 answers | 0

### 2

answersQuestion

Error with fgetl....why?

Matlab keeps giving me a hard time: "Error using fgets Invalid file identifier. Use fopen to generate a valid file identifier....

17 days ago | 1 answer | 0

### 1

answerQuestion

How to close a dos window after a .exe is finished running?

When I run the .exe outside matlab i have to press enter to close the dos window. It is only then that I can re-run the .exe fo...

27 days ago | 3 answers | 0

### 3

answersQuestion

How to open file, clear content, rewrite conent and close.

Hi, I'm trying to open a .dir file (same as a .txt file) clear the content, rewrite the content and then close. The content is...

28 days ago | 2 answers | 0

### 2

answersQuestion

execute .exe in subdirectories?

Hi, The .exe I am using doesn't work well when calling files outside its current working directory. So I have copied the .exe...

3 months ago | 1 answer | 0

### 1

answerQuestion

can't get sequential .exe execution to occur in matlab

Hi, I'm trying to copy a reference file LEVEL_01.dir to a number of number of sub directories and then change the content of LE...

3 months ago | 1 answer | 0

### 1

answerQuestion

Can't get matlab to run a .exe file...

Here is my code: clear all; clc; %Solute transport parameters in row 47 of SELECTOR.IN file SolTrans=[0.035 0 1 0.0479 0 0 0...

4 months ago | 1 answer | 0

### 1

answerQuestion

fgetl - still a valid function?

I am trying to adapt someonelse's old (~2010) code for my use (run monte carlo of another program) . The old code uses the funct...

4 months ago | 1 answer | 0

### 1

answerQuestion

How to couple Matlab to other model for monte carlo simulations??

Hi, I am using Hydrus to simulate 1D unsaturated water flow. I would like to create a matlab file that can call the hydrus .e...

5 months ago | 1 answer | 0

### 1

answerQuestion

How to implement Bayesian data analysis following a simple monte carlo application?

Thanks for taking the time to read this and for possibly lending some help! I have made a toxicokinetic model that has three pa...

1 year ago | 0 answers | 0

### 0

answersQuestion

How to segregate data?

I have a dataset of people's (columns) residential history over time (rows, years). numbers 1-3 mean the person lived in one ...

1 year ago | 1 answer | 0

### 1

answerQuestion

Conditional Scatter plotting based on third data set

The b[e]low matrix represents 5 people (columns) over time (each row is a year). I'd like to generate some script that, returns ...

1 year ago | 2 answers | 0

### 2

answersQuestion

Plotting multiple boxplots in same window...array for each boxplot is not the same length...causing error

Hi, I'm trying to plot multiple boxplots in the same figure, but the column vectors associated with each boxplot are not the s...

1 year ago | 1 answer | 0

### 1

answerQuestion

How to stack histograms

Hi, I'm trying to stack histograms but I'm not having any luck. I would like the data for Security (in blue) to plot along the...

1 year ago | 1 answer | 0

### 1

answerQuestion

Don't want box plots to overlap...

Hi, I'm trying to get two boxplots to plot next to each other and NOT overlap (as is the case with the below code). I would a...

1 year ago | 1 answer | 0

### 1

answerQuestion

Conditional histogram plotting help

Hi, I'm trying to figure out how to plot only certain output data if certain conditions are met. I have a 10000x207 matrix. E...

1 year ago | 0 answers | 0

### 0

answersQuestion

Save Monte Carlo output

This is probablly a silly question, and I'm missing the obvious, but how does one save the output of monte carlo iterations, wit...

1 year ago | 1 answer | 0

### 1

answerQuestion

How to reference points in time in a matrix?

I have 4 columns of time-series data ranging from t=1 to t=10. I am interested in WHEN each time series become greater than zer...

1 year ago | 1 answer | 0

### 1

answerQuestion

Recursive line dysfunction and indexing question

Hi, I think this would fall under recursive function dysfunction but I'm in the weeds right now so I might be off with my title...

1 year ago | 0 answers | 0

### 0

answersQuestion

Help with running a Monte Carlo please...and another question :)

Hi there, My code is broken up into the following segments: Lines 7-54 : import data and preallocate for later matrices Lines...

1 year ago | 1 answer | 0

### 1

answerQuestion

Index exceeds the number of array elements (1) ERROR - not sure why.

I keep getting this error...but don't know why! It's a simple addition equation...for a series of vectors. My code and excel d...

1 year ago | 1 answer | 0

### 1

answerQuestion

How to reference a previous step in a for-loop? ALSO how to trigger a loop to stop?

Hi, I have the following equation: for t=1:length(TimeXaxis) C(t) = D(t-1) + I(t) * 0.91 / Vd(t) - E(t-1) end that I ...

1 year ago | 1 answer | 0

### 1

answerQuestion

How do you get matlab to import/read a column vector of strings or characters??

How do you get matlab to import a column vector of strings or characters?? [zone]=xlsread('Tox_model.xlsx',2,"E5:E10"); E5-E...

1 year ago | 1 answer | 0

### 1

answerQuestion

the results from one timestep feed into the subsequent timestep?

Hi, I have the following equaiton: dCs(t)=(I*Ea/Vd)-(Ke*Cs(t)); This is a single compartment toxicological model. ...

1 year ago | 1 answer | 0

### 1

answerQuestion

Help with Monte Carlo

Hi all, I have the following equation: dCs(t)=(I*Ea/Vd)-(Ke*Cs(t)); % Single compartment Tox model I ...

1 year ago | 1 answer | 0

### 1

answerQuestion

How to cite only part of a vector in an equation?

Hi, I am working on a health study. I have the daily contaminant levels in grinking water, for a month long period, for three d...

2 years ago | 1 answer | 0

### 1

answerQuestion

Why does a for loop that has column vectors as input return row vectors as output

% Water System Blending Model % Written by % Data for Well Pumpage and Metered Usage was provided by the Security Public Water...

2 years ago | 0 answers | 0