photo

Wesser


Last seen: quasi 2 anni fa Attivo dal 2020

Followers: 0   Following: 0

Statistica

  • First Answer
  • Thankful Level 3

Visualizza badge

Feeds

Visto da

Domanda


monte carlo from lognormal distribution?
Hi, I know how to select from a normal distribution...for example: Cons = unifrnd(0,800); But how does one select from a l...

quasi 2 anni fa | 2 risposte | 0

2

risposte

Domanda


How to concatenate columns of varying lengths, generated by a for loop, into a matrix?
How to concatenate columns vectors of varying lengths, generated by a for loop, into a matrix? num_sim = 1000; %1000 m...

circa 2 anni fa | 1 risposta | 0

1

risposta

Risposto
textscan of mixed data type data file
So I originally had the script as below. It works perfectly when all the Obs_Node.out files have the same number of rows. But ...

circa 2 anni fa | 0

Domanda


Second to last row?
I'm created a function to read output files of varying length. However I want the function to read the data until the second to...

circa 2 anni fa | 2 risposte | 0

2

risposte

Domanda


Coalesce data from 1000 monte Carlo simulations with different data file lengths?
Hi all, I'm trying to coalesce data from 1000 monte Carlo simulations of contaminant infiltration into the ground. Each Monte C...

circa 2 anni fa | 2 risposte | 0

2

risposte

Domanda


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

circa 2 anni fa | 2 risposte | 0

2

risposte

Domanda


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

circa 2 anni fa | 2 risposte | 0

2

risposte

Domanda


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

circa 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 2 anni fa | 3 risposte | 0

3

risposte

Domanda


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

circa 2 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 3 anni fa | 0 risposte | 0

0

risposte

Domanda


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

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 3 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 3 anni fa | 0 risposte | 0

0

risposte

Domanda


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

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 3 anni fa | 0 risposte | 0

0

risposte

Domanda


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

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 4 anni fa | 1 risposta | 0

1

risposta

Carica altro