photo

mcm


Active since 2016

Followers: 0   Following: 0

Statistics

Feeds

View by

Question


How to write a for loop to obtain z-scores
Although matlab has a built in z-score function, I need to create a for loop that would do the same thing. How do I improve my ...

8 years ago | 1 answer | 0

1

answer

Question


While loop to convert values
I need a while loop that will take a score and set it to 0 if it less or equal than 200 score = input('What was the UPDRS s...

8 years ago | 1 answer | 0

1

answer

Question


While loop inside an if loop
I have UPDRS1997 which is an array (1x50). I want a while loop that will display Participant should consult neurologist if the v...

8 years ago | 2 answers | 0

2

answers

Question


For a certain condition, how to replace a numerical value with text
For example: if x == 0 replace 0 by 'normal'

8 years ago | 1 answer | 0

1

answer

Question


How do I assign a text to a numerical value for an array inside of a for loop?
Hi have the following for loop and for each x (0 to 4) I want to assign a specific word to it. pick_year = input('Pick a y...

8 years ago | 2 answers | 0

2

answers

Question


load and if loops
I created a prompt that loads an array with 50 values I need to assign x to the values of that array to run an if loop. This...

8 years ago | 0 answers | 0

0

answers

Question


load and if conditions
I need a for loop that will call a data set (1997 or 2013) and pull data from the data to calculate what each value if equal 2....

8 years ago | 2 answers | 0

2

answers

Question


how to delete NaN from a function output
I Created a if function that will output a matrix with numeric values and NaN values. What should I add at the end of the functi...

8 years ago | 1 answer | 0

1

answer