photo

athpapa -


Active since 2011

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Answered
matrix reshaping
thank you very much!

ongeveer 13 jaar ago | 0

Question


matrix reshaping
Does someone know how to reshape an array for example: A=[1 5; 2 4; 5 6] to an array B=(1,6) to be like this: B=[1 5 2 4 5 6]; ...

ongeveer 13 jaar ago | 3 answers | 0

3

answers

Question


matrix dividing
If I have a big matrix like this: A=ones(1,450000). How can I divide it in 300 equal parts (1, 1500) and multiple these 300 part...

ongeveer 13 jaar ago | 1 answer | 0

1

answer

Question


matrix and binary bits
I have a matrix that I use it like an index, for example: A=[1 3 2 4 1 3] which points to a matrix which represents binary bits ...

ongeveer 13 jaar ago | 3 answers | 0

3

answers

Question


Creating matrix from a for loop
I have this 'for loop' (where A a matrix from my program): for m=symbols(1:1000) d1=abs(m-A); [C,I]=min(d1); k=A(I);...

ongeveer 13 jaar ago | 1 answer | 0

1

answer

Question


Nesting for loops and if statements in MATLAB
I have a program in MATLAB that I use two for loops e.g.: for ....end for...end. In the 2nd 'for loop' I use an if statemen...

meer dan 13 jaar ago | 2 answers | 0

2

answers

Question


Matlab poisson random numbers
Hello, I use in my code the Matlab function 'poissrnd' to produce random numbers, for example: A=poissrnd(100,1,20) to produ...

meer dan 13 jaar ago | 2 answers | 0

2

answers

Question


Matlab delete values
Hello, I have a table: A=[2 5 5 0] and I use this function to sort it in descend order: [C, Index] = sort(A) and the result:...

meer dan 13 jaar ago | 2 answers | 1

2

answers

Question


Arrays sorting
Hello, I have 2 arrays: A=[3 5 11] and B=[2 3 0]. I multiply these 2 arrays and I produce a third: C=times(A,B)=[6 15 0]. I s...

meer dan 13 jaar ago | 1 answer | 0

1

answer

Question


Matlab Minimum
Hello, If I have an array for example: A=[10 11 12 1 8 9 1 3 5] and I use the '[C,I]=min' function to find the minimum value ...

meer dan 13 jaar ago | 3 answers | 0

3

answers

Question


Array selection
Hello, I have one array, for example: A=[10 6 8 9 11] and I take the min of it which is number 6. How can I select only the t...

meer dan 13 jaar ago | 1 answer | 0

1

answer

Question


Array minimum
Hello, I have a table, e.g.: 999 999 1 999 4 5 5 0 8 9 and I use the matlab function: [C,I] = mi...

bijna 14 jaar ago | 1 answer | 0

1

answer

Question


array assignment question
I have this code: a = zeros(4, 5); b = ones(2, 4); [rows columns] = size(b); % Define upper left of where I want to pla...

bijna 14 jaar ago | 3 answers | 0

3

answers

Answered
Working with arrays in a for loop
Thank you all for your help!

bijna 14 jaar ago | 0

Question


Working with arrays in a for loop
I have 2 variables that take their values from a 'for' loop. How can I put the values of those 2 variables into an array? For ex...

bijna 14 jaar ago | 3 answers | 0

3

answers