photo

athpapa -


Actif depuis 2011

Followers: 0   Following: 0

Message

Statistiques

  • Thankful Level 3

Afficher les badges

Feeds

Afficher par

Réponse apportée
matrix reshaping
thank you very much!

environ 13 ans il y a | 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]; ...

environ 13 ans il y a | 3 réponses | 0

3

réponses

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...

environ 13 ans il y a | 1 réponse | 0

1

réponse

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 ...

environ 13 ans il y a | 3 réponses | 0

3

réponses

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);...

environ 13 ans il y a | 1 réponse | 0

1

réponse

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...

plus de 13 ans il y a | 2 réponses | 0

2

réponses

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...

plus de 13 ans il y a | 2 réponses | 0

2

réponses

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:...

plus de 13 ans il y a | 2 réponses | 1

2

réponses

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...

plus de 13 ans il y a | 1 réponse | 0

1

réponse

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 ...

plus de 13 ans il y a | 3 réponses | 0

3

réponses

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...

presque 14 ans il y a | 1 réponse | 0

1

réponse

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...

presque 14 ans il y a | 1 réponse | 0

1

réponse

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...

presque 14 ans il y a | 3 réponses | 0

3

réponses

Réponse apportée
Working with arrays in a for loop
Thank you all for your help!

presque 14 ans il y a | 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...

presque 14 ans il y a | 3 réponses | 0

3

réponses