Community Profile

Last seen: 11달 전 2020년부터 활동

배지 보기

#### Content Feed

보기 기준

질문

Rearranging array based on number of steps.
Hi everybody, Let's say I have a vector such as: A = (1:24) And I'd like to separate this array into a 2x12 matrix where the ...

1년 이상 전 | 답변 수: 1 | 0

### 1

답변

질문

Replacing matrix n column values
Hello community, If I want to make every negative value inside a matrix equal to zero I would use the following code: MyMatrix...

1년 이상 전 | 답변 수: 2 | 0

### 2

답변

질문

Repeating sequence in xlabel
Hello, I'm trying to repeat a sequence on the xlabel of the figure I've attached. Since I'm plotting a vector that has 160 val...

1년 이상 전 | 답변 수: 1 | 0

### 1

답변

질문

Repeat matrix columns in pairs.
Hello, I'm trying to use the repelem function to repeat some columns of a matrix A like: A = [1 2 3 4; 5 6 7 8]; If I use the...

1년 이상 전 | 답변 수: 2 | 0

### 2

답변

질문

How to get certain matrix columns.
Hello, I'm having trouble trying to get certain matrix columns. Let's say I have Matrix A: A = [1 2 3 4 5 6 7 8 9 10 11 12; 1...

1년 이상 전 | 답변 수: 1 | 0

### 1

답변

질문

Extract columns into new variables efficently
Hi Mathwork's community, So I have a Matrix A such as: A= [1 1 2 2 3 3 1 1 2 2 3 3; 1 1 2 2 3 3 1 1 2 2 3 3]; And a matrix B,...

1년 이상 전 | 답변 수: 1 | 0

### 1

답변

질문

Use two colormaps on 3D figure.
Hello Mathwork's community! I've used the surf function in order to get the attached figure. I was wondering if I could use t...

1년 이상 전 | 답변 수: 1 | 0

### 1

답변

질문

Creating and solving a polynomial equal to zero.
Hello Mathwork's community, I'm trying to define as many polynomial functions as columns I have inside an inital matrix A, such...

1년 이상 전 | 답변 수: 1 | 0

### 1

답변

답변 있음
Elegant way of storing multiple vectors int to a single matrix in column wise
Matrix = cat(1,A,B,C)

1년 이상 전 | 0

질문

Write legend on for loop plot
Hello Mathworks community, I'm using the following loop to plot a graph for different scenarios: figure X = [1.182, 1.6, 1.7,...

1년 이상 전 | 답변 수: 1 | 0

### 1

답변

질문

Plot in 300 or 600 dpi
Hello everybody, I'm trying to plot a couple of figures(pie charts, histograms, graphs...) and I was wondering if it is possibl...

1년 이상 전 | 답변 수: 2 | 0

### 2

답변

질문

Placing none NaN values from a matrix to another
Hello everybody, I'm trying to get non NaN values from matrix A: A = [NaN NaN NaN 3 0 NaN NaN 1; NaN 2 NaN 6 1 NaN NaN NaN; 5 ...

1년 이상 전 | 답변 수: 1 | 0

### 1

답변

질문

For loop with if and elseif statements
Could someone please help me out? I've been writting a code for some time now, and I endend up having quite a big matrix for lo...

1년 이상 전 | 답변 수: 1 | 0

### 1

답변

질문

Extract first and last nonzero elemenents inside subarrays avoiding mat2cell
Can somone please give me a hand? I have a matrix A such as: A = [0 0 1 2 0 5 0 0 6 0 3 0 ; 0 3 0 2 6 0 0 0 0 0 0 0]; I'd lik...

1년 이상 전 | 답변 수: 2 | 0

### 2

답변

질문

Make spceficic array values zero.
Hi Mathworks community! I'm having trouble trying to make some of my array values zero. This array corresponds to my Input: I...

1년 이상 전 | 답변 수: 1 | 0

### 1

답변

질문

Mean of matrix subarrays without using a loop.
Hi Mathworks community. I'm trying to calculate the mean value of my matrix subarrays without taking the zero values into accou...

1년 이상 전 | 답변 수: 1 | 0

### 1

답변

질문

Plot histogram values and ranges
Hello Mathwork's community. I'm trying to plot an histogram of a vector and I'm getting the following figure: It's been code...

1년 이상 전 | 답변 수: 1 | 0

### 1

답변

질문

Hello community, I'm trying to input a matrix variable saved from my matlab workspace into Simulink as an Input. The dimensions...

1년 이상 전 | 답변 수: 1 | 0

### 1

답변

질문

Make specific columns of a matrix zero.
Hi Mathworks community! So I have a matrix A such as: A = [1,2,3,4,5,6,7,8,9; 5,8,6,44,8,6,8,7,3; 9,8,7,6,5,4,3,2,1] And an a...

2년 이하 전 | 답변 수: 1 | 0

### 1

답변

질문

Adding two matrixes with different row numbers.
Hi Mathworks community! I have a matrix A(mxn) and a matrix B(lxn) such as: A = [1,2,3,4,5,6,7,8,9,10; 10,11,12,13,14,15,16,17...

2년 이하 전 | 답변 수: 2 | 0

### 2

답변

질문

Sum subarrays of a Matrix.
Hi Mathworks community! Could someone give me a hand? I'm having trouble trying to sum parts of the arrays of a matrix. Let's s...

2년 이하 전 | 답변 수: 2 | 0

### 2

답변

질문

Input Excel Data into simulink without time.
Hi Mathworks community! I'm getting started on Simulink and I'm finding a couple of diffculties. My Simulink model is just math...

2년 이하 전 | 답변 수: 1 | 0

### 1

답변

질문

Can someone explain me how to make this loop efficiently?
Hello Mathworks community! I'm having a bit of trouble trying to code a for loop. This is my code so far. randomNumber1 = 100;...

2년 이하 전 | 답변 수: 2 | 0

### 2

답변

질문

Conditioning a matrix for loop
Hello Mathworks community! Could someone give me a hand? I'm having trouble trying to create a matrix for loop. Since my actua...

2년 이하 전 | 답변 수: 1 | 0

### 1

답변

질문

Modify Repmat function to concatenate array
Hello MathWorks community. I'm trying to concatenate an array of my own "n" times. The thing is that each time each time I conc...

2년 이하 전 | 답변 수: 2 | 0

### 2

답변

질문

Conditional statements on array.
Hello MathWorks community! Could someone give me a hand? I'm struggling on a loop involving a conditional statement in order t...

2년 이하 전 | 답변 수: 3 | 0

### 3

답변

질문

Hello Matlab community! Could someone please give me a hand with my code? I've come up with an array such as A = [0, 0, 0, ...

2년 이하 전 | 답변 수: 1 | 0

### 1

답변

질문

Find maximum array values avoiding mat2cell.
Hello Matlab community. I was wondering if someone could give me a hand with a code problem I've been having for a while. So ...

2년 이하 전 | 답변 수: 4 | 0

답변