photo

mathango


Last seen: 6 mois il y a Actif depuis 2016

Followers: 0   Following: 0

Statistiques

  • Explorer
  • Thankful Level 3

Afficher les badges

Feeds

Afficher par

Question


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

plus de 3 ans il y a | 2 réponses | 0

2

réponses

Question


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

plus de 5 ans il y a | 1 réponse | 0

0

réponse

Réponse apportée
How the struct definition works?
So what is the equivalent in Fortran language, to dynamically type the gene variable?

presque 6 ans il y a | 0

| A accepté

Question


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

presque 6 ans il y a | 2 réponses | 0

2

réponses

Question


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

plus de 7 ans il y a | 1 réponse | 0

1

réponse

Question


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

plus de 8 ans il y a | 1 réponse | 0

1

réponse

Question


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

plus de 8 ans il y a | 1 réponse | 3

0

réponse

Réponse apportée
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...

plus de 8 ans il y a | 0

Question


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

plus de 8 ans il y a | 1 réponse | 0

1

réponse

Question


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

plus de 8 ans il y a | 1 réponse | 0

1

réponse

Question


converting from conv2 to fft2
Does any one knows how to convert the following code into 2D and 3D version? if true % ...

plus de 8 ans il y a | 1 réponse | 0

0

réponse

Réponse apportée
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 ...

plus de 8 ans il y a | 0

| A accepté

Question


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

plus de 8 ans il y a | 1 réponse | 0

1

réponse

Question


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

plus de 8 ans il y a | 1 réponse | 0

1

réponse

Question


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

plus de 8 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
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 ...

plus de 8 ans il y a | 0

| A accepté

Question


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

plus de 8 ans il y a | 1 réponse | 0

1

réponse

Question


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

plus de 8 ans il y a | 1 réponse | 0

1

réponse

Question


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

plus de 8 ans il y a | 2 réponses | 0

2

réponses

Question


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

plus de 8 ans il y a | 1 réponse | 0

1

réponse

Question


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

presque 9 ans il y a | 1 réponse | 0

1

réponse