Community Profile

photo

Antonio


Last seen: 3 years ago Active since 2015

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


Shuffling non-zero elements of each column in a matrix
I want to shuffle non-zero elements of each column in a matrix but keep the zero elements at the same place. Like I have this: ...

6 years ago | 1 answer | 0

1

answer

Question


one-by-one matrix assignment
I need to find the minimum values in each column of matrix "A", and then replace those min values with the values in last row of...

6 years ago | 1 answer | 0

1

answer

Question


How to make each matrix in a cell of equal size by adding NaN?
How may I make each matrix in a cell of equal size by adding NaN? My data is a 1000x1 cell containing 'nx2' sized matrices and l...

6 years ago | 1 answer | 0

1

answer

Question


How do I get the maximum of repetitive elements in certain portions of a matrix?
I have a 2000x2 matrix, and *"for each 10x2 segment of this matrix"*, I need to calculate the maximum of corresponding values (s...

6 years ago | 1 answer | 0

1

answer

Question


Removing rows of a matrix based on rows of another matrix!
Imagine I have two matrices with different sizes (let's say 6x2 and 5x2) as follows: A = [47 10; 29 10; 23 10; 34 10; 1...

6 years ago | 2 answers | 0

2

answers

Question


How to add certain rows to a 2D matrix?
I have a simple 2D matrix like this: A = [34 10; 23 10; 64 10]; What I need to do is to find the "max(A(...

6 years ago | 2 answers | 0

2

answers

Question


How to get the average for repetitive elements of a matrix?
Assuming I have a 10x2 matrix, how do I get the average of corresponding values (second column) of repetitive values (first colu...

6 years ago | 1 answer | 1

1

answer

Question


Problem w/ saving different parts of a 3D matrix in separate matrices!
I am trying to save different parts of a 3D matrix into separate individual matrices (like different matrices in one single fold...

6 years ago | 1 answer | 0

1

answer

Question


Assign certain colors to certain dots of a scatter plot
Hey y'all, I need to assign certain colors to certain dots of a scatter plot. I've written something like this: Colo...

7 years ago | 0 answers | 0

0

answers

Question


Split an excel file into separate workbooks
Hi there, I have an excel file with 500,000 rows. I want to split this file into 200 separate workbooks and put them into a s...

7 years ago | 1 answer | 0

1

answer

Question


Bar chart is not plotted evenly over the X-axis!
Could anybody tell me why my chart is not evenly plotted?! The space on the right side is bigger than the space on the left side...

7 years ago | 1 answer | 0

1

answer

Question


Use the index in a FOR loop for a string
How do I make 50 plots (in separate figures) using the following format: for i = 1:50 figure('name','Hurricane "...

7 years ago | 2 answers | 0

2

answers

Question


Problem with plot command in a for loop!
Hi there, I've written a code which finally gives me an array, _A_. The code works fine and gives me the array correctly, but...

8 years ago | 1 answer | 0

1

answer

Question


How to get rid of "exponential integral function, Ei(x)" in symbolic math integrartion?!
Hi, I'm trying to calculate the integral of the following f(x) in MATLAB: f(x) = -m/(x*e^mx) When I write something li...

8 years ago | 0 answers | 0

0

answers

Question


How to solve this definite integral in MATLAB?!!
Hi there, I want to solve the equation attached but something's going wrong! Please note that the Capital phi and small phi s...

8 years ago | 2 answers | 0

2

answers

Question


Generate 'k' vectors of unique (non-repetitive) integer random variables in the same range
Hi, How can I generate two vectors of unique (non-repetitive) integer random variables (each vector with 50 components) in th...

8 years ago | 4 answers | 0

4

answers

Question


How to round up all components of a matrix to nearest 'k' decimal
Hi, Does anyone know how I can change this: d = 0.017869069824194415755502531669223 -0.0050797537564829...

8 years ago | 1 answer | 0

1

answer

Question


How to optimize a multi-variate function based on a constraint?
Hi there, Actually I need to minimize the function: f = sqrt(X^2 + Y^2 + Z^2), based on the constraint: 0.64*X - (9*sqrt(3)/...

8 years ago | 2 answers | 0

2

answers

Question


How to get mean value of x(i) in a loop?!
Hey guys, I've written a code like this. Everything is fine except I don't know how to calculate the mean of x(i) values at t...

8 years ago | 1 answer | 0

1

answer

Question


How can I simplify numerical calculations in symbolic math toolbox?
Hi there, When I write this: fR == simplify((Alpha/uR)*((y/uR)^(Alpha-1))*exp(-(uS/y)^k)) I get something like this: ...

8 years ago | 1 answer | 0

1

answer

Question


Read a specific number in a text file containing a mixture of strings and numbers
Hi there, I need to read "a specific number" (highlighted below) in 1998 different text files (text1.txt, text2.txt, ..., tex...

8 years ago | 2 answers | 0

2

answers