Question

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

más de 4 años ago | 1 answer | 0

Question

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

más de 4 años ago | 2 answers | 0

Question

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

más de 4 años ago | 2 answers | 0

Question

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

más de 4 años ago | 4 answers | 0

Question

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

más de 4 años ago | 1 answer | 0

Answered

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

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

más de 4 años ago | 0

| accepted

Question

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

más de 4 años ago | 2 answers | 0

Answered

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

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

más de 4 años ago | 0

Question

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

más de 4 años ago | 0 answers | 0

Question

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

más de 4 años ago | 2 answers | 0

Question

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

casi 5 años ago | 1 answer | 0

Question

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

casi 5 años ago | 2 answers | 0

Answered

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

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

casi 5 años ago | 0

| accepted

Question

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

casi 5 años ago | 1 answer | 0

Answered

selecting a triangle in an array of delaunay points

Answered, thanks!

selecting a triangle in an array of delaunay points

Answered, thanks!

casi 5 años ago | 0

| accepted

Question

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

casi 5 años ago | 1 answer | 0

Question

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

casi 5 años ago | 2 answers | 0