Luqman Saleem
Followers: 0 Following: 0
Statistiken
32 Fragen
0 Antworten
RANG
7.009
of 289.940
REPUTATION
6
BEITRÄGE
32 Fragen
0 Antworten
ANTWORTZUSTIMMUNG
46.88%
ERHALTENE STIMMEN
6
RANG
of 19.611
REPUTATION
N/A
DURCHSCHNITTLICHE BEWERTUNG
0.00
BEITRÄGE
0 Dateien
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANG
of 144.328
BEITRÄGE
0 Probleme
0 Lösungen
PUNKTESTAND
0
ANZAHL DER ABZEICHEN
0
BEITRÄGE
0 Beiträge
BEITRÄGE
0 Öffentlich Kanäle
DURCHSCHNITTLICHE BEWERTUNG
BEITRÄGE
0 Highlights
DURCHSCHNITTLICHE ANZAHL DER LIKES
Feeds
Frage
How to fine numerical gradient
I have a function f(x,y). Following is just a sample function explaining how I save f(x,y) value in a 2D array. clear; clc; ...
etwa ein Monat vor | 2 Antworten | 0
2
AntwortenFrage
Breaking down a numerical integration into two parts
Sorry for this stupic question. Suppose we have this integral Of couse this can be solved analytically. But I still want t...
etwa 2 Monate vor | 1 Antwort | 0
1
AntwortFrage
How to correctly store and access data in a 4D array?
Suppose I store some 2-by-2 matrices in a 4D array as following data = zeros(10,5,2,2); for i = 1:10 for j = 1:5 ...
etwa 2 Monate vor | 1 Antwort | 0
1
AntwortFrage
Tracking failed integral2() inside a for loop
I'm running the integral2() function within a `parfor` loop. Occasionally, the integration fails during some iterations, and I r...
etwa 2 Monate vor | 1 Antwort | 0
1
AntwortFrage
How can I ensure that the initial solution (x0) for fsolve does not result in Inf or NaN values?
I'm attempting to solve an equation for a system under a small external force. It's sensible to seek the solution near the solut...
2 Monate vor | 2 Antworten | 0
2
AntwortenFrage
How is the work distributed in parfor loop?
In a scenario with a parfor loop consisting of 10000 iterations distributed over 10 workers, is each worker initially assigned 1...
2 Monate vor | 2 Antworten | 0
2
AntwortenFrage
What happens when we call a function containing a parfor loop within another parfor loop?
Consider answer = zeros(1,5); parfor x1 = 1:5 answer(x1) = fun(); end function output = fun() R = zeros(1,10...
3 Monate vor | 1 Antwort | 0
1
AntwortFrage
Speeding up code to refine grid points
I want to calculate following 2D integration as sums. and are constants, is identity matrix of order 2, and is a 2 by 2 m...
3 Monate vor | 0 Antworten | 0
0
AntwortenFrage
The fastest method to perform sum of function
Suppose that I have a function fun(x,y,z) whose output is a 2 by 2 matrix (one example is given below). I want to calculate the ...
3 Monate vor | 3 Antworten | 0
3
AntwortenFrage
Using parfor to evaluate integrations
Probably a stupid question. I want to integrate a function f(x,y). Can I use parfor() as shown below to compute the sum? I am c...
3 Monate vor | 1 Antwort | 0
1
AntwortFrage
integral vs trapz vs sum
The result obtained from trapz() differs in sign compared to the approximation from integral() and the summation approach for th...
3 Monate vor | 1 Antwort | 0
1
AntwortFrage
Integration of these kind of functions
I want to integrate is a 2 by 2 matrix (given below), is identity matrix of order 2, and and and positive real numbers. I ...
3 Monate vor | 0 Antworten | 0
0
AntwortenFrage
Solving a matrix equation with fixed point iteration method
I want to solve the following equation for where I believe Equ.1 can be solved using fixed iteration method. The twist he...
4 Monate vor | 1 Antwort | 0
1
AntwortFrage
Where does the eigenvalues of 3-by-3 matrix meet?
I have a 3x3 Hermitian matrix dependent on 10 variables. Each combination of these variables yields three eigenvalues: E1, E2, a...
8 Monate vor | 0 Antworten | 1
0
AntwortenFrage
Solving self-consistent equations that involve matrices
I want to calculate for a given value of and . The self-consistent equation is And here is identity matrix of order , ...
8 Monate vor | 1 Antwort | 0
1
AntwortFrage
Cauchy integral theorem vs. integral formula
Let's have the following integral: Here and are real and positive number. We can solve this integral using Cachy integral t...
10 Monate vor | 1 Antwort | 0
1
AntwortFrage
Faster method for numerical integration in 3D
I have a very complex expression which includes three integrations: Please bear with me. This looks very complicated but in...
etwa ein Jahr vor | 0 Antworten | 1
0
AntwortenFrage
numerical curl vs symbolic curl
I am tring to calculate curl of an expression both numerically and symbolically. When I compare them both, they are very differ...
fast 3 Jahre vor | 1 Antwort | 1
1
AntwortFrage
Calculating integration using for loops
My question is about 2D square Brillouin zone integrations. Problem Summary: I am rederiving one of the results of this public...
fast 3 Jahre vor | 0 Antworten | 0
0
AntwortenFrage
How to take cross product of two 2D vector fields
I have 2 vector fields say and . I want to calculate cross product of A and B . I have 2D matrices of and . i.e. clear; cl...
fast 3 Jahre vor | 1 Antwort | 0
1
AntwortFrage
Is there any work around the error "Array concatenation is not supported"?
I have a function which take two inputs (x,y) and return three outputs (out1,out2,out3). I want to evaluate this function for 2D...
mehr als 3 Jahre vor | 2 Antworten | 0
2
AntwortenFrage
Approximating Definite Integrals as Sums
I have a function that I want to integrate over and . I know the answer of this integration is . When I use function, I get t...
mehr als 3 Jahre vor | 1 Antwort | 1
1
AntwortFrage
3D integral failure
I am trying to sovle the following integration but integral3 keeps failing. Is there any work around for this. The expression fo...
mehr als 3 Jahre vor | 0 Antworten | 0
0
AntwortenFrage
Why parfor loop memory keep increasing?
I am using R2018b on Windows 10. My code have 3 for loops and I want to use parfor above them. In each parfor loop, it is expect...
mehr als 3 Jahre vor | 1 Antwort | 0
1
AntwortFrage
Evaluating 2D function on 2D grid without using "for" loops
I have a function f(x,y) and I want to evaluate it on x,y grid. For example, f = @(x,y) x^2+y^2; x = 1:10; y = 1:5; %one...
mehr als 3 Jahre vor | 1 Antwort | 0
1
AntwortFrage
How can I numerically solve the following integration in matlab?
I have an equation of the following form: where A,B,C, and q are 3-by-3 matrix and Tr[...] represent trace. And here b=1e3...
fast 4 Jahre vor | 0 Antworten | 0
0
AntwortenFrage
How to keep track of order eigenvalue in eig or eigs?
I have a matrix equation defined at each point of variable k. The equation is where and is a 6-by-6 matrix. Once I solve my...
etwa 4 Jahre vor | 3 Antworten | 0
3
AntwortenFrage
How can I copy latest data of Corona-virus cases from worldometers.info using a MATLAB code?
Is there any simple way to copy data from a table given on https://www.worldometers.info/coronavirus/ website link?
etwa 4 Jahre vor | 1 Antwort | 0
1
AntwortFrage
Creating all possible combination of 0 and 1 in 2D array
Let the size of 2D matrix is (n rows, m cols). How can I create all possible combinations of 0 and 1 in this matrix?
mehr als 4 Jahre vor | 2 Antworten | 0
2
AntwortenFrage
Generating combination of binary numbers
Variable and are some integers and . I want to create permutation of 1s and 0s in the order shown below. Let and A = [1...
mehr als 4 Jahre vor | 1 Antwort | 0