Community Profile # Ellie

### School

Active since 2015

#### Statistics

• #### Content Feed

View by

Question

When I try to implement the example for solve, x is returned
When I try to implement the example for solve in the Matlab Documentation I get solx = x, rather than solx = pi/2 like in the do...

más de 4 años ago | 0 answers | 0

### 0

Question

Add the rows of a Matrix until a certain value.
Hi All, I have this code which will add values in a vector until a certain value and then give the corresponding location. Howe...

más de 5 años ago | 2 answers | 0

### 2

Question

How to find the index of the median of a matrix.
Hi All, Just like the function [M, I] = max(a) where a is matrix, I need to do this for median. The matrix that I will be tes...

más de 5 años ago | 4 answers | 0

### 4

Question

Combine output from for loop into one long vecor, then put that row into a cell.
Hi all, I have this code, and it works how I would like for the first row, but I am having trouble generalizing it. y ...

casi 6 años ago | 1 answer | 0

### 1

Question

How to combine the matrices that are output by the for loop.
Hi all, I am trying to combine all the outputs of a for loop into one large matrix. All the outputs are matrices. Here is my...

casi 6 años ago | 1 answer | 0

### 1

Question

Sample from the previous sample, whole rows.
Hi all, My goal here is to combine these two codes that I have. The first code uses randsample from the statistics library, a...

casi 6 años ago | 1 answer | 0

### 1

Question

Take samples from the previous sample
Hi all, I have set of data, the size doesn't really matter. Lets call it x1. I want to take a random set of values from x1 and...

casi 6 años ago | 2 answers | 0

### 2

Question

Shift rows by different amounts
I have a N^2 x N^2 matrix where N = 4, and I wish to shift rows 1, 5, 9, and 13 by 0. Rows 2, 6, 10, 14 by 4. Rows 3, 7, 11, 15 ...

casi 6 años ago | 2 answers | 0

### 2

Question

Perform Operation Only on Specified Rows.
I have attempted to modify this code that circshifts the even rows a specified number of times, however I would like to make it ...

casi 6 años ago | 1 answer | 0

### 1

Question

Perform Operation on only even rows.
How would I go about performing an operation only on the even rows. For example, you have matrix A and you want to cirshift only...

alrededor de 6 años ago | 1 answer | 0

### 1

Question

Transition Matrix that compares two elements to the next two elements.
Hi all, I am trying to modify this code to create a transition matrix that compares two elements to the next *two* elements. A...

alrededor de 6 años ago | 1 answer | 0

### 1

Question

How would I go about modifying this code so that it will bin a set of 4 elements?
I have this following code where the is a pair of [ic(k), ic(k+1)]. Is there any way to modify it so that you can bin [[ic(k), i...

alrededor de 6 años ago | 0 answers | 0

### 0

Question

Error Using Accumarray, Third input SZ must be a full row vector with one element for each column of SUBS
Hi All, I am having trouble using accumarray. I am getting the following error and I am having trouble figuring out why. Thanks...

alrededor de 6 años ago | 2 answers | 0

### 2

Question

Why am I receiving this error when trying to implement sparse?
I am trying to modify this code from file exchange. It works perfectly, but it won't allow me to use data that includes zeros. I...

alrededor de 6 años ago | 1 answer | 0