photo

Lulu


Aktiv seit 2011

Followers: 0   Following: 0

Nachricht

Statistik

  • First Review
  • Thankful Level 3
  • First Answer

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


The problem with the function 'all'
Hello, I need to compare two data sets, i.e. a = [6 11 9; 5 4 3]; b = [1 2 3]; all(a>b); % The problem is that 'a' contains m...

mehr als 13 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


Find divisors for a given number
Hello, I need to find all possible divisors D for a given number N that provide integers in N/D. For instance, if N=8, then D...

mehr als 13 Jahre vor | 6 Antworten | 0

6

Antworten

Frage


Determine if a point is inside a cube
Hi! There are given 8 vertices of a cube and a random point. How can I define that the point lies inside the cube? I wanted to c...

mehr als 13 Jahre vor | 4 Antworten | 0

4

Antworten

Frage


Sum of Euclidean distances
Hi. There are 5 points in 3D space: xyz=rand(5,3). How can I quickly calculate a sum of Euclidean distances from the 1st ...

mehr als 13 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


How to simplify the given code snippet?
Hello, I need to simplify the following code. Perhaps 'reshape' function should be used, but in which way? Any ideas would be a...

mehr als 13 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
selecting desired values
Do you want to select values based on indices? If so, then here is an example: ind = [1; 2; 5; 15]; col1 = array(ind,1); col2 = ...

mehr als 13 Jahre vor | 0

Beantwortet
program takes long time to run
If Nf is large, then try to vectorize FOR loop.

mehr als 13 Jahre vor | 0

Frage


Array processing problem
Hi, I have the following problem. Let's say there is an 3x3 array 'arr': 0 0 0 0 0 0 0 0 0 There are 3 edges 'E': 1 2 ...

mehr als 13 Jahre vor | 1 Antwort | 0

1

Antwort