photo

athpapa -


Aktiv seit 2011

Followers: 0   Following: 0

Nachricht

Statistik

  • Thankful Level 3

Abzeichen anzeigen

Feeds

Anzeigen nach

Beantwortet
matrix reshaping
thank you very much!

etwa 13 Jahre vor | 0

Frage


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

etwa 13 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


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

etwa 13 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 13 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


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

etwa 13 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 13 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 13 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 13 Jahre vor | 2 Antworten | 1

2

Antworten

Frage


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

mehr als 13 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 13 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


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

mehr als 13 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 14 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 14 Jahre vor | 3 Antworten | 0

3

Antworten

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

fast 14 Jahre vor | 0

Frage


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

fast 14 Jahre vor | 3 Antworten | 0

3

Antworten