photo

athpapa -


Con actividad desde 2011

Followers: 0   Following: 0

Mensaje

Estadística

  • Thankful Level 3

Ver insignias

Feeds

Ver por

Respondida
matrix reshaping
thank you very much!

más de 12 años hace | 0

Pregunta


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

más de 12 años hace | 3 respuestas | 0

3

respuestas

Pregunta


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

más de 12 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 12 años hace | 3 respuestas | 0

3

respuestas

Pregunta


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

más de 12 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 13 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

más de 13 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

más de 13 años hace | 2 respuestas | 1

2

respuestas

Pregunta


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

más de 13 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 13 años hace | 3 respuestas | 0

3

respuestas

Pregunta


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

más de 13 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 13 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 13 años hace | 3 respuestas | 0

3

respuestas

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

más de 13 años hace | 0

Pregunta


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

más de 13 años hace | 3 respuestas | 0

3

respuestas