Statistics
RANK
13,007
of 300,756
REPUTATION
4
CONTRIBUTIONS
14 Questions
1 Answer
ANSWER ACCEPTANCE
71.43%
VOTES RECEIVED
4
RANK
of 21,077
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 170,890
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Discussions
AVERAGE NO. OF LIKES
Feeds
Question
How do I save matrices from specific points in a for loop?
for n = 1:100 %first for loop for i = 2:end-1, second for loop for j = 2: end-1 ...
7 years ago | 1 answer | 0
1
answerQuestion
Manipulating arrays within a cell array
I have a cell array, A_C which has 401 cells (1x401) each with arrays of varying sizes, but same dimensionality. I'm trying to...
8 years ago | 2 answers | 0
2
answersQuestion
For loop output each iteration to cell array
I have some code below, the problem I'm having is that I want to output each iteration into the cell array P_SUM, and not just t...
8 years ago | 1 answer | 0
1
answerQuestion
Nested for loop and cell arrays
I have a cell array, A, containing 40 cells, each of different sizes. I need to use each of these cells (let's call one, A1(1x10...
8 years ago | 1 answer | 0
1
answerQuestion
cellfun for function with multiple inputs
I want to apply a function to every cell within a cell array, so using cellfun seems the logical way to go. But the function req...
8 years ago | 1 answer | 3
1
answerManipulating arrays within a cell array
for n = 1:l xs_current1{n} = xs_current1{1,n}/num_point_sources(1,n); end
8 years ago | 0
Question
Summing arrays within a cell array.
I've got a cell array which consists of 501 4D arrays, I want to sum all of these together and output a single 4D array. I've ...
8 years ago | 1 answer | 0
1
answerQuestion
Output each for loop iteration to separate arrays
I have a function which relies on a few inputs, all of these inputs will be the same for each iteration apart from one which wil...
8 years ago | 1 answer | 0
1
answerQuestion
Contourf colour doesn't display correct values.
I have a contourf plot shown below, the problem I'm having is that the ring is supposed to be almost white; the values in the ma...
8 years ago | 1 answer | 0
1
answerQuestion
Repeat elements in an array for certain number of cycles
I have a 61x1 array, G, I want to make a new array G_2, where the 61 elements of G are repeated for 5 cycles. For example: G...
8 years ago | 1 answer | 1
1
answerQuestion
Replacing values in a 4D array.
This is a question arising from this thread: <https://www.mathworks.com/matlabcentral/answers/374453-round-number-closest-to-0-i...
8 years ago | 1 answer | 0
1
answerQuestion
Round number closest to 0 in array
I have an array with numbers which are all really small (-9e-07 upto 2e+06). I want to round the values in each column of a 4D a...
8 years ago | 1 answer | 0
1
answerQuestion
How to ignore values in an array
I'm creating an array [array 1] that fulfills the formula (A - B/C), where A and B are matrices with different elements and C is...
8 years ago | 2 answers | 0
2
answersQuestion
Comparing matrices of different dimensions
I have 3 matrices, one is a 1x301 array,A, one is a scalar value,B, and the 3rd is 10x10x10 array,C. I need to be able to do: A-...
8 years ago | 1 answer | 0
1
answerQuestion
Creating a 4D array.
I have a 3D array, P_3D, which has the dimensions 1x301x1000. I want to make this a four dimensional array by 'inserting' anothe...
8 years ago | 1 answer | 0
