Kobye
McGill University
2013 年からアクティブ
Followers: 0 Following: 0
Professional Interests: Mechanical Engineering
Feeds
質問
Most efficient way to add multiple sparse matrices in a loop in MATLAB
I have a code that repeatedly calculates a sparse matrix in a loop (it performs this calculation 13472 times to be precise). Eac...
9年以上 前 | 2 件の回答 | 2
2
回答回答済み
How can i calculate the cross product of two cell vectors?
Your question isn't written very clearly at all. Please take some time to clearly describe your problem and help the community a...
How can i calculate the cross product of two cell vectors?
Your question isn't written very clearly at all. Please take some time to clearly describe your problem and help the community a...
10年以上 前 | 1
質問
MATLAB cropping colorbar text - how to fix?
The problem looks as in the attached image. The exponent in the colorbar scale indicator (i.e. 10^9 symbol next to the colorbar)...
11年弱 前 | 2 件の回答 | 1
2
回答質問
Numerical integration error for a function in x,y that can be analytically integrated!
I am getting the error: "Error in integral2 (line 107)" when trying to numerically evaluate the below surface integral. fun...
約11年 前 | 1 件の回答 | 0
1
回答質問
Numerical integration over a circular domain
I have an analytic function defined over x=[0,100] and y=[0,100]. I do not know the precise workings of the function, just that ...
約11年 前 | 1 件の回答 | 0
1
回答質問
Matlab function slow first time, much faster subsequently. Why?
I have a large MATLAB function file. It first creates a zero matrix, then updates about 70% of the cells by evaluating a number ...
約11年 前 | 1 件の回答 | 0
1
回答回答済み
Using fprintf to specify a filename for write to text file in loop
I've figured it out... had to use sprintf instead of fprintf.
Using fprintf to specify a filename for write to text file in loop
I've figured it out... had to use sprintf instead of fprintf.
約11年 前 | 0
質問
Using fprintf to specify a filename for write to text file in loop
I am creating a number of text files (or really m files) in a loop. The filenames should be sequential, having the suffix 1,2,3...
約11年 前 | 2 件の回答 | 0
2
回答質問
Parallel computation leaking memory and slowing a loop
I am doing a parallel computation, specifically a row by row integration of a symbolic matrix (sic I am integrating 4 rows at a ...
約11年 前 | 4 件の回答 | 3
4
回答質問
OOP in Matlab - What to do when the output is a different class following method?
I am new to Object Oriented Programming. After _a lot_ of stressing, I have finally managed to define my own class of objects in...
11年以上 前 | 1 件の回答 | 1
1
回答回答済み
Redefining the _mult command in muPad (MATLAB symbolic engine)
I've done the hard bit and have managed to define a method that does what I want. I will provide it here for reference. I would ...
Redefining the _mult command in muPad (MATLAB symbolic engine)
I've done the hard bit and have managed to define a method that does what I want. I will provide it here for reference. I would ...
11年以上 前 | 0
質問
Redefining the _mult command in muPad (MATLAB symbolic engine)
I have created a user-defined domain in muPad called Bx. Each object in this domain is defined by two variables: n and k. B...
11年以上 前 | 1 件の回答 | 0
1
回答質問
Getting MATLAB/muPad to recognize and treat variables in a custom manner
I have a symbolic vector that looks as follows: n=4; syms x y z B = sym(zeros(n, 1)); for k=0:n B(k+1) ...
11年以上 前 | 0 件の回答 | 0
0
回答回答済み
Symbolic substitution: Subs command is substituting zeros with 'new' despite 'old' not being defined as zero - why?
I have found the answer. I am using Matlab R2012b. There is a bug in the code that switches the arguments old and new if subs...
Symbolic substitution: Subs command is substituting zeros with 'new' despite 'old' not being defined as zero - why?
I have found the answer. I am using Matlab R2012b. There is a bug in the code that switches the arguments old and new if subs...
11年以上 前 | 0
| 採用済み
質問
Symbolic substitution: Subs command is substituting zeros with 'new' despite 'old' not being defined as zero - why?
I've got a simple piece of symbolic code below. It all seems to work well, except one strange thing happens. Vx1_before contains...
11年以上 前 | 1 件の回答 | 0
1
回答質問
How can I speed up this code?
I really need to speed up the code below. It is part of a stress analysis module. The idea is that the more basis polynomial te...
11年以上 前 | 0 件の回答 | 0
0
回答質問
Find definite integrals for the expressions listed as the elements of a matrix
I have a matrix populated with symbolic expressions in 2 variables. I would like to carry out a *definite* surface integral of e...
11年以上 前 | 1 件の回答 | 0