Community Profile

photo

Luqman Saleem


Last seen: 5 Monate vor Aktiv seit 2019

Statistics

  • Thankful Level 3

Abzeichen anzeigen

Content Feed

Anzeigen nach

Frage


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

mehr als ein Jahr vor | 1 Antwort | 1

1

Antwort

Frage


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

mehr als ein Jahr vor | 0 Antworten | 0

0

Antworten

Frage


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

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 2 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

etwa 2 Jahre vor | 1 Antwort | 1

1

Antwort

Frage


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

etwa 2 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 2 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

mehr als 2 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


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?

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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?

fast 3 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

fast 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Steepest descent method algorithm
For practice purpose, I want to find minima of -humps() function. I have written the following code but it's not giving correct...

etwa 3 Jahre vor | 1 Antwort | 2

1

Antwort

Frage


storing value in 2D array in a parfor loop
I have something like following R = [1, 2, 3, 4, 5]; A1 = sparse(5,5); A2 = sparse(5,5); parfor i = 1 : size(A1,1) ...

etwa 3 Jahre vor | 1 Antwort | 0

1

Antwort