Community Profile # IDN

Last seen: 9 months ago Active since 2021

#### Statistics

• • • #### Content Feed

View by

Running Rate of Change given two different columns if a criteria is met
Got it combining 2 for loops. Thanks!

10 months ago | 0

| accepted

Question

Running Rate of Change given two different columns if a criteria is met
Good Morning all, I am looking to accomplish the following. I have 6 Columns i wan to calculate a running rate of change that s...

11 months ago | 1 answer | 0

### 1

Question

For Loop "Array indices must be positive integers or logical values"
Good Morning all, I have the below statement and its not working when i swith signs and i dont understand why. Appreciate the h...

1 year ago | 2 answers | 0

### 2

Question

Loop input variables into function to get the various output in table
Hello! I have a function for which i have some variables as input that create output as follows: function(A,B,C,D,E,F,G) - So ...

1 year ago | 1 answer | 0

### 1

Question

Out of Memory on Function
Hello, I have the below function from Matlab file exchange. I am getting an out of memory alert on RSI every time I run a lar...

1 year ago | 0 answers | 0

### 0

Question

Cumulative Summation down a matrix in loop keeping total per section
Hello! I have 2 matrix, I would like to sum Matrix B values running cummulative given condition. The condition is that it start...

1 year ago | 2 answers | 0

### 2

Question

Hi all, I have the below parfor loop which is good when I am wanting to pass thru negative values to evaluate. I am getting the...

1 year ago | 1 answer | 0

### 1

Question

For loop to carry value down depending on another matrix value
Hello! I have the following issue. I have 2 matrices (MatrixA and MatrixB), I want to create a third one(MatrixC) that uses the...

1 year ago | 1 answer | 0

### 1

Question

Cumulative Summation down a matrix in loop
Hello! I have 2 matrix, I would like to sum Matrix B values cummulative given condition. The condition is that it starts to s...

1 year ago | 2 answers | 0

### 2

Question

For Loop that Checks 2 Matrices to create a Combined New one based on IF Statement
Good Morning, I have the following statement that check 3 data sets to combine an answer (1,0,-1) but i am not able to get it t...

1 year ago | 1 answer | 0

### 1

Question

Loop Rate of Change with Negative Values
Hello, I would like to use a loop to calculate across a table a rate of change ( (Current Value - 4thValue) / 4th Value)). I t...

1 year ago | 1 answer | 0

### 1

Question

Difference Calculation between current value and a specified prior value
Hello, I use the following to calculate percentage change: B = (diff(VMA)./(VMA(1:end-1))*100; What this does is (x1 - x2) / ...

1 year ago | 1 answer | 0

### 1

Sending an email from outlook.com using matlab
Try this mail = 'sender@mail.com'; Tomail = 'to@mail.com'; password = 'password'; port='587'; setpref('Internet','SMTP_Se...

1 year ago | 0

Question

parfor loop and decimal step increments in variable
Hello, What is the best way to be able to use a "parfor" loop when you have a variable that uses a decimal step as below... y...

1 year ago | 1 answer | 0

### 1

Question

Fractional steps in for loops
Hello! This is the first time i am running fractional steps in for loop and i am not sure wheter this is just comepletely wrong ...

1 year ago | 1 answer | 0

### 1

Question

Passing multiple Arrays to loop a Function and creating a 1 column array
Hello! I have the following but I am not sure what i am missing: A=ArrayA; (1,000x1) Double C=ArrayC; (1,000x1) Double V=Arra...

2 years ago | 2 answers | 0

### 2

Question

Multidimensional Array deleting entire max record keeping information across in order
I have the following loop: sz = 20; m = zeros(size(sz)); for i = 1:sz [max_val, position] = max(sh(:)); %Find Max Pos...

2 years ago | 1 answer | 0

### 1

Question

Finding position of a multidimensional array given manual value
Hello, I have the following: [max_val, position] = max(sh(:)); %Gets max value of sh and provides position [yAxInd,yCxInd...

2 years ago | 1 answer | 0

### 1

Question

IF Statement with Multiple Conditions and priority
I have a set of conditions but one has priority over the other example: Data = zeros(size(V)); for t = 1:numel(Data) if ...

2 years ago | 1 answer | 0

### 1

Question

Nested "For Loop" Array Size
How can i size my array to the output of a nested for loop? Thanks for the help! DataArray = nan(300,1); % this is the array ...

2 years ago | 1 answer | 0