Community Profile

photo

Luqman Saleem


Last seen: 5 Monate ago Active since 2019

Statistics

  • Thankful Level 2

View badges

Content Feed

View by

Question


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

6 Monate ago | 1 answer | 1

1

answer

Question


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

6 Monate ago | 0 answers | 0

0

answers

Question


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

7 Monate ago | 1 answer | 0

1

answer

Question


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 ein Jahr ago | 2 answers | 0

2

answers

Question


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 ein Jahr ago | 1 answer | 1

1

answer

Question


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 ein Jahr ago | 0 answers | 0

0

answers

Question


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 ein Jahr ago | 1 answer | 0

1

answer

Question


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 ein Jahr ago | 1 answer | 0

1

answer

Question


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 ein Jahr ago | 0 answers | 0

0

answers

Question


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 ein Jahr ago | 2 answers | 0

2

answers

Question


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 ein Jahr ago | 1 answer | 0

1

answer

Question


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 2 Jahre ago | 2 answers | 0

2

answers

Question


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 2 Jahre ago | 1 answer | 0

1

answer

Question


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 2 Jahre ago | 1 answer | 2

1

answer

Question


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 2 Jahre ago | 1 answer | 0

1

answer