Question


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

nästan 11 år ago | 1 answer | 0

1

answer

Question


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

nästan 11 år ago | 1 answer | 0

1

answer

Question


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

nästan 11 år ago | 2 answers | 0

2

answers

Question


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

nästan 11 år ago | 2 answers | 0

2

answers

Question


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

nästan 11 år ago | 1 answer | 0

1

answer

Question


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

nästan 11 år ago | 1 answer | 0

1

answer

Question


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

nästan 11 år ago | 2 answers | 0

2

answers

Question


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

nästan 11 år ago | 1 answer | 0

1

answer

Question


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

nästan 11 år ago | 1 answer | 0

1

answer

Question


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

nästan 11 år ago | 2 answers | 0

2

answers

Question


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

nästan 11 år ago | 2 answers | 0

2

answers