Community Profile

photo

Kevin Burg


Last seen: 3 months ago Active since 2021

Statistics

  • Thankful Level 2

View badges

Content Feed

View by

Question


Using a loop to read a .mat file, extract a certain variable, and add to a matrix without overwriting
I am trying to extract a certain variable from 36 total directories, all with a similar .mat file name (plotvars.mat). Inside t...

3 months ago | 1 answer | 0

1

answer

Question


Make a new a directory and save a file in a loop
I am post-processing 36 different cases. What I want to do is run the script, save the variable of interest, create a new direc...

3 months ago | 2 answers | 0

2

answers

Question


Transposing matrix of elements added by for loop
I am creating a matrix with 38 unique entries. My for loop is creating a 1x38 matrix but I need it to be 38x1 for the operatio...

4 months ago | 0 answers | 0

0

answers

Question


Creating an automation script that will run a series of problems
I am trying to automate a run script. I have the script performing the actual calculations with all the functions in a directory...

4 months ago | 1 answer | 0

1

answer

Question


Function that will select one of two data sets
I am trying to set up a function that will pick one of two data sets. If a set parameter is postive I want this to be from the ...

4 months ago | 1 answer | 0

1

answer

Question


How to run a for loop with two functions (nested for loop?)
I am trying to perform a series of iterative calculations given two inputs. First I want to calculate for three pressures. Sec...

5 months ago | 1 answer | 0

1

answer

Question


How to perform a calculation only when a input value is positive
I have a input file that has 1x367 inputs. I only want to calculate the following equation when the input value is positive. I...

5 months ago | 2 answers | 0

2

answers

Question


How to save output from equation in for loop into an array
I currently am calculating the values for an equation over a range of values. The output is only saving the last calculated in ...

5 months ago | 1 answer | 0

1

answer