Community Profile

photo

Andrew Lackey


Last seen: oltre 2 anni fa Attivo dal 2021

Followers: 0   Following: 0

Statistiche

  • Thankful Level 3

Visualizza badge

Feeds

Visto da

Domanda


How to change variable value for every iteration in a for loop?
I have an equation within a for loop that uses multiple variables. All of the variables (except for variable a) are given in a t...

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


How to set a column vector as a legend name within multiple plots?
I have a for loop that creates a figure with 5 plots. I am trying to set a legend so that each plot says "A = 0", "A = 4", "A = ...

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


How to loop through multiple text files and make plot for each one in a single script?
I have 5 text files that have the same exact variables and column formats. The txt. files are named a1.txt, a2.txt, etc. I have ...

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


How to make a variable negative if another variable is negative?
I have two columns (X & Y) full of numbers 200 numbers in a text file. All values of X are positive, while the values of Y are...

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


How to store a new variable based on a range from another column?
I have a .txt file with 2 columns (X,Y). I would like to create a variable that represents a range of Y, but have that range b...

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


How to add consecutive numbers from a column in a .txt file?
I am trying to add consecutive elements in a column and then print the new column. For example the column: [1 1 8 2 3 1] ...

oltre 2 anni fa | 1 risposta | 0

1

risposta