photo

Luqman Saleem


Last seen: etwa ein Monat vor Aktiv seit 2019

Followers: 0   Following: 0

Statistik

MATLAB Answers

39 Fragen
0 Antworten

RANG
8.125
of 300.338

REPUTATION
6

BEITRÄGE
39 Fragen
0 Antworten

ANTWORTZUSTIMMUNG
66.67%

ERHALTENE STIMMEN
5

RANG
 of 20.922

REPUTATION
N/A

DURCHSCHNITTLICHE BEWERTUNG
0.00

BEITRÄGE
0 Dateien

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANG

of 168.149

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

  • Thankful Level 4

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


How to convert two nested for-loops to one parfor loop.
I have the following code. I want to get it in one parfor loop. clear; clc; % number of points: Nx = 80; Ny = 90; x...

etwa ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


Handling memory when working with very huge data (.mat) files.
I am working with two 5D arrays (A5D and B5D) saved in a big_mat_file.mat file. The size of these arrays is specified in the cod...

etwa ein Jahr vor | 2 Antworten | 0

2

Antworten

Frage


Representing an area on a different axis.
I have an area bounded by a data set in the (-) plane as shown below. Is it mathematically possible to represent this area (blue...

etwa ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


How can I efficiently save and access large arrays generated in nested loops?
I need to run nested for-loops over the variables J1 and J2. The range for J1 is 1 to 41, and the range for J2 is 1 to 9. Inside...

etwa ein Jahr vor | 2 Antworten | 0

2

Antworten

Frage


Why do my laptop and work computer produce different results when adding a small term to a matrix?
In the following code, when I add the term eye(8)*(0.0001) to the matrix F, my laptop and my work computer return different valu...

etwa ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


3D integration over a region bounded by some planes.
I want to perform 3D integrations of some functions over a region defined by the following 14 planes. As an example, consider th...

etwa ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


Eliminate the long number appearing in symbolic calculations
I am doing some symbolic calculations and end up with very large numbers in the symbolic expression. For example, I get the vari...

mehr als ein Jahr vor | 2 Antworten | 0

2

Antworten

Frage


How can I manipulate the 2D data to make it smoother
I have the following data represented by the surface plot: clear; clc; load('data.mat') figure; surf(nXX,nYY,nZZ,'...

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

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

mehr als ein Jahr vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als ein Jahr vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als ein Jahr vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als ein Jahr vor | 0 Antworten | 0

0

Antworten

Frage


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

mehr als ein Jahr vor | 3 Antworten | 0

3

Antworten

Frage


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

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 2 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

fast 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 2 Jahre vor | 0 Antworten | 1

0

Antworten

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

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

fast 5 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 5 Jahre vor | 0 Antworten | 0

0

Antworten

Mehr laden