mathango
Followers: 0 Following: 0
Feeds
提问
Is it possible to vectorize this simple recursive function in loop?
I have the following simple example code that has a recursive function in a loop. Is it possible to vectorize (to speed it up) ...
3 years 前 | 2 个回答 | 0
2
个回答提问
Plotting first and second order ode of the same equation
Here is the second order differential equation (1): with initial conditions and The written code in matlab that numerica...
5 years 前 | 0 个回答 | 0
0
个回答已回答
How the struct definition works?
So what is the equivalent in Fortran language, to dynamically type the gene variable?
How the struct definition works?
So what is the equivalent in Fortran language, to dynamically type the gene variable?
6 years 前 | 0
| 已接受
提问
How the struct definition works?
I am trying to understand the code written by someone in matlab and I am attempting to understand and to translate it to fortran...
6 years 前 | 2 个回答 | 0
2
个回答提问
How to create numerically and symbolically creation/annihilation operator?
Hi everyone, I am attempting to create creation and annihilation operator used in 2nd quantization of quantum mechanics. I wan...
7 years 前 | 1 个回答 | 0
1
个回答提问
How to plot a first order differential equation with singular point?
Is there a way to plot a first or second order differential equation with singular point? Example equation: (1-y^2)*y" + 5...
8 years 前 | 1 个回答 | 0
1
个回答提问
Command Window Output Does Not Display Everything
Hi, I am doing a symbolic calculations and my code is written to print out symbolic results (very long series and formulas) in ...
8 years 前 | 0 个回答 | 3
0
个回答已回答
Trial version very slow on openSuse 13.2
After typing opengl info and bench, I've got the following report, Version: '2.1 Mesa 10.3.7' V...
Trial version very slow on openSuse 13.2
After typing opengl info and bench, I've got the following report, Version: '2.1 Mesa 10.3.7' V...
8 years 前 | 0
提问
Trial version very slow on openSuse 13.2
Did I miss something in set up of trial version of Matlab on openSUSE 13.2? The software is running very slowly and I wondered ...
8 years 前 | 1 个回答 | 0
1
个回答提问
Is there a way to simplify this expression?
Is there a way to simplify the following expression: A=zeros(4); B=zeros(4); C=zeros(4); d(i,j,1)=[0 1 0; 0 1 0; 1...
8 years 前 | 1 个回答 | 0
1
个回答提问
converting from conv2 to fft2
Does any one knows how to convert the following code into 2D and 3D version? if true % ...
8 years 前 | 0 个回答 | 0
0
个回答已回答
matrix set up for kron use and speed up.
Hi, I managed to fix the sparse algorithm, however it is slower than simple iterative method. Have I done something wrong with ...
matrix set up for kron use and speed up.
Hi, I managed to fix the sparse algorithm, however it is slower than simple iterative method. Have I done something wrong with ...
8 years 前 | 0
| 已接受
提问
matrix set up for kron use and speed up.
Hi, I am trying an alternative way of doing explicit finite difference method to explore and use other matlab available tools. ...
8 years 前 | 1 个回答 | 0
1
个回答提问
How to copy or transfer a portion of matrix to another at same location?
Hi, Is there a way to copy or transfer a portion of matrix A (nonzero values) to another matrix B at same location? for exam...
8 years 前 | 1 个回答 | 0
1
个回答提问
Can finite difference method can be expressed with diff function?
Hi, Here is the finite difference example i=2:n-1; j=2:n-1; B(i,j) = A(i+1,j) - 2*A(i,j) + A(i-1,j) + A(i,j+1) - 2*A(i...
8 years 前 | 1 个回答 | 0
1
个回答已回答
How to speed up conv2 and finite difference method?
After thorough testing, I decided not to use conv2 for my Finite difference method problem. An iterative method is simpler and ...
How to speed up conv2 and finite difference method?
After thorough testing, I decided not to use conv2 for my Finite difference method problem. An iterative method is simpler and ...
8 years 前 | 0
| 已接受
提问
How to speed up conv2 and finite difference method?
Hi, I would like to know if there is an opportunity to speed up a code listed below. Convolution method (CM) is a bit slower (...
8 years 前 | 1 个回答 | 0
1
个回答提问
I need clarification on reshape and conv2 comparison
In convmtx2 documentation I found the following description : T = convmtx2(H,m,n) returns the convolution matrix T for the ma...
8 years 前 | 1 个回答 | 0
1
个回答提问
How to define a range to iterate with gaps in between?
Hi, Is it possible to do iteration with gaps in simple and fast format in matlab. For example, i= 1:10; j= 15:20; ...
8 years 前 | 2 个回答 | 0
2
个回答提问
convn in 3D
Hi, Here is my solution for finite difference method using conv2 for 2D matrix let, x= 1: 10; y= 1: 10; A = zeros[x,y]; ...
8 years 前 | 1 个回答 | 0
1
个回答提问
Taylor Series on numbers
Hi, I know that I can perform series expansion of the function let say sin(x) by writing a following script commands: s...
9 years 前 | 1 个回答 | 0