Community Profile

# Tim

Attivo dal 2013

#### Content Feed

Visto da

Domanda

How to solve an equation with one variable (x) including a "sum" from 1:n?
Hi, I never used Matlab to solve simple equations, so it would be awesome if anyone could help me out: I want to get to know...

oltre 9 anni fa | 1 risposta | 0

### 1

risposta

Domanda

How to reshape a 2D to 3D matrix without using loops (reshape) and keeping a particular order of the elements// Wrong arragement of elemts after using "reshape"
I've a problem using the reshape function. I've a Matrix A: A = 1 2 3 4 5 6 7 8 9...

oltre 9 anni fa | 1 risposta | 0

### 1

risposta

Domanda

Quicker function than repmat to multiplay matrices with vectors?
I've recognised that in my programm the most time-consuming parts are the parts where I use repmat, most of the times when I wan...

oltre 9 anni fa | 1 risposta | 0

### 1

risposta

Domanda

How can I easily get for each day in 2013 the type of day? ( Weekday, Saturday, Sunday)
Hello, I want to know if there's an easy way to get to know for each day in 2013 if it was a weekday or a Saturday or Sunday. ...

oltre 9 anni fa | 2 risposte | 1

### 2

risposte

Domanda

Delete last n1,n2,n3 (...) elements in each row in a Matrix in an efficient way or set to zero
I've a large set of data and i want to remove from the end of each row a different amount of elements (0-n). Is there a fast way...

oltre 9 anni fa | 2 risposte | 0

### 2

risposte

Domanda

How to change Elements in Matrix per row depending on their size in reference to a particular Element (without loop)
I've Data (in the real case much bigger) like this: A = 0 3 4 5 2 3 1 2 4 6 2...

oltre 9 anni fa | 3 risposte | 0

### 3

risposte

Domanda

How to shift rows in a matrix by different values (e.g. line 1 n-spots, line 2 m-spots and so on) without using a loop
I want to shift rows in a matrix randomly. It is im important that every row in shiftet by a random number. I tried to implement...

oltre 9 anni fa | 3 risposte | 1

### 3

risposte

Domanda

Insert Zeros (m -rows) in an existing Matrix every n-rows in an efficient way
I've data like this (the actualy matrix is much bigger) A = 1 1 2 2 3 3 4 4 5...

oltre 9 anni fa | 3 risposte | 0

### 3

risposte

Domanda

Rearrange 3 small matrices to a bigger one with a certain order: taking first n-rows of each of the smaller matrices after each other
I have three smaller Matrices that I want to transform to one bigger one with the following order: >> A1 = 1 1 ...

oltre 9 anni fa | 3 risposte | 0

### 3

risposte

Domanda

How to rearrange 3 small matrices to a bigger one with a certain order of rows without using loops
I guess this one is quite simple but yet I didn't come up with a nice solution: I have three smaller Matrices that I want to ...

oltre 9 anni fa | 1 risposta | 0

### 1

risposta

Domanda

Create new smaller Matrix by summing every n-rows in old Matrix (without loops)
I've a Matrix like A = 1 1 1 2 2 2 3 3 3 4 4 4 5 5 5 ...

quasi 10 anni fa | 1 risposta | 0

### 1

risposta

Domanda

How to quickly change 3D to 2D Matrix
I've a Matrix e.g. A(:,:,1) = 1 1 1 2 2 2 3 3 3 A(:,:,2) = 4 4 ...

quasi 10 anni fa | 1 risposta | 0

### 1

risposta

Domanda

How to set all elements in a 2D Matrix between two indices to "1" in each row
I've a matrix A e.g. like this: A = 1 0 0 1 0 0 0 0 1 0 0 1 0 ...

quasi 10 anni fa | 3 risposte | 0

### 3

risposte

Domanda

How to edit elements per row in a 3D-matrix using a vextor with (X,Y,Z)-coordinates indecating a first index and a last index. All elements between these two shall be '1'. If possible without a loop to be most efficient
I have 3D matrix with Zeros, e.g. A=zeros(10,10,3); Also I've "start-coordinates" and "stop-coordinates" for each Dimension (...

quasi 10 anni fa | 0 risposte | 0

### 0

risposte

Domanda

How to find first nonzero element/first '1' per row and set other elements to zero without loops in 3D Matrix
I've a Matrix f.ex. like A=[0,1,1,0; 1,0,0,1;0,0,0,1;0,1,1,1]; A = 0 1 1 0 1 0 0 1 ...

quasi 10 anni fa | 3 risposte | 0

risposte