Community Profile

Contact

Top 5% contributor

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

accepted

0

Answered 2 years 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 2 years 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...

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

Asked 3 years ago

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

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, I have 'raw' as an array of all cells read from excel (number or non-number). I would like to find the row numbers where ...

Asked 3 months ago

Hello, I have a question that, if A=[ 'ddd', 'aaa']; B=['ddd']; I want to return an array that compare whether A's cell is e...

Hello, just want to know if Matlab can import the file that is most recent made based on their modified date and time? I have...

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

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

Asked 1 year ago

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

Load more