Community Profile

Contact

Top 5% contributor

This may be helpful: http://www.mathworks.com/matlabcentral/fileexchange/28922-list-queue-stack

accepted

0

Answered 1 year ago

Hi, all, again, I want to do the work quickly: I have a large matrix A, and I want to assign value in some entry in each row. ...

3 Answers

Asked 1 year ago

Hi, by the command of isinteger I can check if it is an integer, however, when defined at first, Matlab assume it is double prec...

Asked 2 years ago

Hi, it is a general question, in my matlab code I used a lot of loops, and inner loops as well. The result is it cannot get a so...

2 Answers

1

Hello, I want to write a code to try every combination of a N-dimentional vector(with entry 0 or 1 or 2). For example, if N=3, a...

Asked 3 years ago

Hello, I wonder how can I define an array with a variable, for example, x_i=an array, where i changes. I do not think Matlab ...

Hi, All, I have to use a dataset as large as ones(3^N1,3^N2,10^3), where N1 and N2 can be 7~14. However, matlab will report "...

Hello, want to program to store a result to file, which dataset can both Matlab and C++ read? I know Matlab can save it to .m...

1 Answers

Hi, all, I want to define and store a large scale arrays, like ones(3^N,1000,N) and N can be 15. However, matlab says it is out ...

Hi, all, For example, if I want to make all combination of 5-dim vectors have only 2 two's, other entries are all 0. Is there...

Hi I have a database with cost assigned to over 500 zipcodes, that is, one zipcode has a corresponding cost. I want to build a f...

floor(1.999999999999)=1 floor(1.99999999999999999999999999)=2, why is that? Floor should return the lower integer right? Tha...

Hi, dear all, For example, if I write a if loop, after end, what is the difference if I use ;? Thanks.

Hello, I run the same program in Windows it shows Out of memory. Type HELP MEMORY for your options. Then I run it in Linux, it ...

Hello, I asked it the day before yesterday but the code some expert told does not work well. He wrote: [C{1:N}]=ndgrid(0...

Hello, experts, just wondering if MATLAB can solve a non-linear programming efficiently. The decision variable is a vector of N...

Asked 7 months ago

Hello, everyone, I have a code of large scale problem, and it contains many for loops, and all loops are independent. I want ...

Hello, I would like to let Matlab output the result, the result is several rows, on each row there is name(string), time(string)...

Hi, it is a follow up of a previous question, but I have not successfully solved it. Assume I have a large matrix(many rows),...

Hi, All, I am doing a large scale computation problem, and I have several variables, which is large scale (>100MB). I was tol...

Hi, all, I recently found that Matlab executes matrix/vector computation pretty fast than scalar computation with loops. For ...

Hi, all! I plan to sort rows to an numerical matrix. First sort them in descending order based on first column, then if there...

Hi, I want to save a large data 3^14*1000 double precision to mat file, however, matlab reports error as: Warning: Variable '...

Hi, I used unique(A,'rows') to find unique rows of matrix A, however, it has a problem that after picking unique rows, it wil...

Hi, I know I have asked the similar question, I want to write a if statement that compare vectors, like a, b is 3 dimensional ve...

Hi, want to know if there is a command can compare if two vectors a is not <=b? Now I use while sum(le(a,b))~=N while N is the...

Hi, I have two matrices(same number of columns), M1 and M2. M2 is a set of subset of rows in M1. Is there a function in matlab t...

Notice that C++ have that by /*...*/ Matlab has % to invalid the line, but does Matlab have command that make multiple lines in...

Hi, I am running a small program, that first sortrows of a matrix by the some column and then compare the order with another col...

Hi, I met a problem dealing with very large scale data. My server's limit is: >> [str,maxsize]=computer str = GLNXA6...

Load more