Community Profile

photo

mathango


Last seen: fast 2 Jahre vor Aktiv seit 2016

Followers: 0   Following: 0

Statistiken

  • Explorer
  • Thankful Level 3

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


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

etwa 3 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

fast 5 Jahre vor | 0 Antworten | 0

0

Antworten

Beantwortet
How the struct definition works?
So what is the equivalent in Fortran language, to dynamically type the gene variable?

etwa 5 Jahre vor | 0

| akzeptiert

Frage


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

etwa 5 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

etwa 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 8 Jahre vor | 0 Antworten | 3

0

Antworten

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

fast 8 Jahre vor | 0

Frage


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

fast 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 8 Jahre vor | 0 Antworten | 0

0

Antworten

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

fast 8 Jahre vor | 0

| akzeptiert

Frage


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

fast 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 8 Jahre vor | 1 Antwort | 0

1

Antwort

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

fast 8 Jahre vor | 0

| akzeptiert

Frage


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

fast 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 8 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

fast 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 8 Jahre vor | 1 Antwort | 0

1

Antwort