photo

Jason


Last seen: 2년 초과 전 2016년부터 활동

Followers: 0   Following: 0

통계학

All
  • Thankful Level 3
  • Solver

배지 보기

Feeds

보기 기준

질문


how to do the sparse indexing
Hello all, I want to do the following sparse array index. Here, P is a 3-dimansional cell matrix, because the matrix is very la...

7년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Is there an efficient way to create a 3 dimensional sparse matrix?
Hello, all ! I have some 2 dimensional large sparse matrix (may be more than 102,400,000 * 102,400,000) and want them to genera...

7년 초과 전 | 답변 수: 1 | 1

1

답변

질문


how many times c++/c can faster than Matlab
Hello everyone, I am writing some codes to compute a large problem. Due to there are many 'for' loops, and some matrix are s...

거의 8년 전 | 답변 수: 1 | 0

1

답변

질문


how to do the exhaustive search?
Dear all, I have a function with 7 variables, each variable belong to [0,20]. I want to search directly from the combination of...

거의 8년 전 | 답변 수: 1 | 0

1

답변

질문


Maximum recursion limit of 500 reached
Dear all, I met a problem when using the following code. I met a problem in the following code. Error using sdpvar/resha...

8년 초과 전 | 답변 수: 2 | 0

2

답변

질문


how to solve A*x=b, if A is a singular matrix;
hello, everyone! I am using hte following code to build the matrix New_P and New_Pg, in order to solve New_P*h=New_Pg; Because,...

8년 초과 전 | 답변 수: 1 | 0

1

답변

질문


how to use bsxfun or arrayfun to build the following matrix
Hi, there. I want to use bsxfun or arrayfun to replace the following for loop. for s=1:S New_P(s,:)=P(s,:,U0...

8년 초과 전 | 답변 수: 1 | 0

1

답변

질문


how to supress a output of a function in command window
Hi, there! I met a problem. If the output of my function is a1,a2,a3, like the right form: [a1,a2,a3]=function(b1,b2,b3); A...

8년 초과 전 | 답변 수: 1 | 0

1

답변

질문


how to find the column number of first zero element of each row
<</matlabcentral/answers/uploaded_files/45777/pic.PNG>> Hi,all. could you please tell me how to find the column number of fir...

8년 초과 전 | 답변 수: 3 | 0

3

답변

문제를 풀었습니다


Make one big string out of two smaller strings
If you have two small strings, like 'a' and 'b', return them put together like 'ab'. 'a' and 'b' => 'ab' For extra ...

8년 초과 전

문제를 풀었습니다


Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

8년 초과 전

문제를 풀었습니다


Sorted highest to lowest?
Return 1 if the input is sorted from highest to lowest, 0 if not. Example: 1:7 -> 0 [7 5 2] -> 1

8년 초과 전

문제를 풀었습니다


inner product of two vectors
inner product of two vectors

8년 초과 전

질문


how to replace the following code, to get the matrix
Hi, there! I going to structure the following matrix, which has some regulations.please see the picture below: if n=4; <</ma...

8년 초과 전 | 답변 수: 1 | 0

1

답변

질문


how to use vectorized language or any other methods to replace the following code, in order to make the computation faster
following are my current code: if true % code tic; S = size(P,1); Q2 = -permute(P,[2 3 1]); for i = 1:S Q2(i,...

8년 초과 전 | 답변 수: 1 | 0

1

답변

문제를 풀었습니다


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

8년 초과 전

문제를 풀었습니다


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

8년 초과 전

문제를 풀었습니다


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

8년 초과 전

문제를 풀었습니다


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

8년 초과 전

문제를 풀었습니다


Add two numbers
Given a and b, return the sum a+b in c.

8년 초과 전

문제를 풀었습니다


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

8년 초과 전

문제를 풀었습니다


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

8년 초과 전

문제를 풀었습니다


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

8년 초과 전