# luc

### TU Delft

Attivo dal 2014

Followers: 0   Following: 0

#### Feeds

Visto da

Domanda

autofilling a matrix with 0's
Say I have a matrix A=[1 1 1] B=[2 3] I want to get this C=[1 1 1;2 3 0] but I want the 0 to be autfilled depending o...

quasi 9 anni fa | 1 risposta | 0

### 1

risposta

Domanda

How to calculate the Pathlength of a function where -180 degrees is next to 180 degrees?
Hey everyone! I'm using the <http://www.mathworks.com/matlabcentral/fileexchange/34871-arclength#comments pathlength function...

quasi 9 anni fa | 2 risposte | 0

### 2

risposte

Domanda

Keeping check of how many times a loop has seen a repeated value
Hey everyone! I've been playing around with the unique function for a while now, but I can't seem to simply solve this proble...

quasi 9 anni fa | 2 risposte | 0

### 2

risposte

Domanda

Unique function not deleting duplicate rows.
attached my matrix "M" and here is my code. [trash,idx] = unique(M,'rows'); pleb=M(idx,:) gg=sort(pleb) When inspe...

circa 9 anni fa | 4 risposte | 0

### 4

risposte

Domanda

How to create a patch object without actually plotting it.
Hello everyone! I have some data, say [X,Y,Z] and when I use the Patch command it creates a figure and gives me a shape. I...

circa 9 anni fa | 1 risposta | 0

### 1

risposta

Risposto
Problem with Patch, trying to fill a surface based on points.
I figured it out, I use a loop to get some double points in my patch object. So each ring gets a double ring. I then add all th...

circa 9 anni fa | 0

| accettato

Domanda

Problem with Patch, trying to fill a surface based on points.
I got an output of a few X Y and Z points, which I want to create into a patch object. The output however, is more like a sli...

circa 9 anni fa | 2 risposte | 0

### 2

risposte

Risposto
Hi, I tried to solve the below equation in Matlab but it gave me no explicit solution. I also want to plot it y versus x.Please help explain to me.
Does this do what you want it to do? syms x y [xx,yy]=solve((x^2)*(y^2)+2*x*y*sin(y)-2*cos(y)==-1,x,y) I've added the...

circa 9 anni fa | 0

Domanda

Solving for 2 parametric equations
Hey everyone! I got a question: I'm trying to calculate where a sphere and a cone intersect. I've got 2 parametric functions de...

circa 9 anni fa | 0 risposte | 0

### 0

risposte

Domanda

How do I find the orthogonal projection of a point onto a plane
Say I have a plane spanned by two vectors A and B. I have a point C=[x,y,z], I want to find the orthogonal projection of this po...

circa 9 anni fa | 3 risposte | 0

### 3

risposte

Domanda

Removing spikey data from a sensor readout.
I have a loop which reads out a sensor, once in a while the data is completely off, and gives a spike. I would like to remove th...

oltre 9 anni fa | 1 risposta | 0

### 1

risposta

Domanda

Efficient way to display a walked path.
I have an object that has coordinates [x,y], the object moves in the x-y plane. The plane is described by a circular set of dat...

oltre 9 anni fa | 2 risposte | 0

### 2

risposte

Risposto
Problem with contraining a general delaunay Triangulation
Couldn't find a good fix between indices from the two functions, so I wrote my own. It's probably sub-efficient, but it works...

oltre 9 anni fa | 0

| accettato

Domanda

Problem with contraining a general delaunay Triangulation
I got a set of points, shaped like a figure 8 filled in (See figure 1) <</matlabcentral/answers/uploaded_files/22736/scatte...

oltre 9 anni fa | 1 risposta | 0

### 1

risposta

Risposto
selecting a triangle in an array of delaunay points

oltre 9 anni fa | 0

| accettato

Domanda

selecting a triangle in an array of delaunay points
The code explains it all. Try to run it, it might give you a good result, but that would be random. This code is supposed ...

oltre 9 anni fa | 1 risposta | 0

### 1

risposta

Domanda

How can I project a 3-D sphere onto a 2-D surface?
I got a matrix M with 3 col, n rows. The points created by the matrix are all on a sphere with radius r. In a seperate matrix, ...

oltre 9 anni fa | 2 risposte | 0

risposte