Community Profile

# Distelfink

Last seen: 29 días ago Active since 2022

#### Content Feed

View by

How can I plot attached three interrelated stacked bars and separately style as well as label their partially recurring block components?
Extending dpb's answer below by using the user-written function applyhatch_plusC (along with its extension makehatch_plus, under...

3 meses ago | 0

| accepted

Question

How can I plot attached three interrelated stacked bars and separately style as well as label their partially recurring block components?
Dear all, I would like to visualize three decompositions by creating a graph with three stacked bar plots. I attach a schematic...

3 meses ago | 2 answers | 0

### 2

Question

How to 1:1 map axis entries in a simple plot to another vector?
Dear matlab forum, Please consider the following case: v=1:10; plot(1:10,v(1,:)) I would like to 1:1 map the entries on the ...

5 meses ago | 0 answers | 0

### 0

Question

Creating a text file giving all unique parameter values I have looped over in nested loops
Dear matlab forum, I am running a model and trying out various parameter specifications using nested loops. Something like thi...

5 meses ago | 0 answers | 0

### 0

Question

Mapping non-integer values of matrix to another matrix via mapping table
Dear all, I would like to do a mapping operation as in this thread, only with real numbers and not integers. To illustrate, sup...

5 meses ago | 1 answer | 0

### 1

Question

How to find the column index of the first nonzero element for every row of a given matrix
Dear all, I have the following matrix A=[1 1 1 1; 0 1 1 1; 0 0 0 1; 0 0 1 1; 0 1 1 1] and I would like to get an output vecto...

5 meses ago | 1 answer | 0

### 1

Question

How do I find the indices of nonzero elements for a matrix of logical vectors?
For example, I have the following matrix with logical vectors as rows: A=[1 0 0 0; 0 0 1 0; 0 0 0 1] I would like to get a vec...

5 meses ago | 2 answers | 0

### 2

Question

Stacking diagonal matrices generated from rows of other matrix
Dear matlab forum, I am pretty new to matlab and would like to do the following. Consider the matrix C. C=magic(4) From the s...

5 meses ago | 5 answers | 0

### 5

How can I create a matrix from a vector with the vector indices given in a matrix, without using a loop?
The easiest way to go is the command hankel(v(2:6)). See the answer I received in this thread

5 meses ago | 0

| accepted

Question

How can I create a matrix with diagonal structure that is neither upper nor lower triangular matrix?
Hello everyone, I would like to create a matrix of the following structure on a large scale: B=[2 3 4 5 6; 3 4 5 6 0; 4 5 6 0 ...

5 meses ago | 1 answer | 0