Frage


How can I make a smaller matrices from a bigger matrix?
When I want to make a bigger matrix from smaller one I use this method that I explain below: C=[2 3 10] A=[4 5 6;7 8 9;10 ...

mehr als 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How can I preallocate it?
I want preallocate GGP{F} in my program. How can I do it? % for F=1:PE*AE*RE GGP{F}=zeros(2,12); for i=1:12 ...

mehr als 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How can shape a matrix with predefined vectors?
I want to make a 3*12 matrix which its first, second and third row is N1, N2 and N3. N1, N2 and N3 are 1*12 vectors. I can...

mehr als 11 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


How can I use speed up Matlab?
I have a large program with a plenty of data and whenever I run Matlab on my program it takes a lot to do it. I checked my CPU u...

mehr als 11 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


How can I have different 3D and 2D plot at the same time?
I have a large program with many loops.I have many graphs in 2D and 3D modes which are coded by plot() and plot3() functions at ...

mehr als 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


what's wrong with my program?
I'm completely confused.I have a large program and Matlab announce an error that I don't know what that is. for F=1:PE*AE*RE ...

mehr als 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How can prelocate arrays?
I have an array like A which I want to have all of its elements zero by using Matlab features like zeros(x) function. for exa...

mehr als 11 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Making bigger matrix with smaller matrixes elements.
I'm assembling a bigger matrix with elements of other smaller matrixes. in my method I build a connecting vector for example C=[...

mehr als 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


making a new matrix with the other matrix elements.
I want to build a matrix with the element of the other matrix in a special condition. my first matrix is something normal for ex...

mehr als 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to re-size a vector with new element obtained from old ones?
I need to create a new vector which is re-sized type of a vector and it's elements are obtained from previews vector. for exa...

mehr als 11 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


How to convert a vector to a row of a matrix and resize it at the same time in a special situation?
I want to convert a vector to a row of a matrix in a special situation which is necessary to resize it too as I explain. for ...

mehr als 11 Jahre vor | 2 Antworten | 0

2

Antworten