Question


Help on interp3 function (meshgrid compatibility error on input data)
Dear All, I am trying to use interp3 for my data which can be found at <http://www.mathworks.com/matlabcentral/fileexchange/?...

etwa 7 Jahre ago | 1 answer | 0

1

answer

Submitted


velocity data
velocity data

etwa 7 Jahre ago | 1 download |

Question


2D integration over an area whose boundary is specified by Fourier series
Dear All, I have an arbitrary surface whose boundary is determined by a Fourier series in (r,z) coordinate system. This bound...

mehr als 7 Jahre ago | 0 answers | 0

0

answers

Question


How to calculate a function of multiple variables which also has an integral in its definition?
Dea All, I have the following function whose definition needs an integral to be evaluated. The integral itself is dependent o...

mehr als 7 Jahre ago | 2 answers | 0

2

answers

Question


Problem in mapping axisymmetric vector field to a 3D rectangular coordinate system
Dear All, I have a velocity vector field in axisymmetric coordinate system (r,z), where r is the radius (sqrt(x^2+y^2)) and z...

mehr als 7 Jahre ago | 0 answers | 1

0

answers

Question


How to preserve meshgrid compatibility after rotation
Dear All, I have generated a vector field in 3D. the coordinates are created by meshgrid. Now I need to rotate the domain 90°...

mehr als 7 Jahre ago | 1 answer | 0

1

answer

Question


Determining if a point is inside an triangulated 3D closed surface
Dear All, I have a 3D triangulated closed surface. How can I determine if a point is inside the surface? Regards, Ahmad...

mehr als 7 Jahre ago | 1 answer | 0

1

answer

Question


MATLAB will not start up after several crashes due to a bad MEX file
Dear All, I was debugging my MEX file because of a bug in the code. Each time the code runs, MATLAB crashes. I think it was a...

mehr als 7 Jahre ago | 8 answers | 1

8

answers

Question


Why when I add mxDestroyArray(myArray) to my code MATLAB crashes?
Dear All, I have a problem with using mxDestroyArray. When I add it to my code, MATLAB crashes. Shouldn't I destroy any mxArr...

mehr als 7 Jahre ago | 2 answers | 0

2

answers

Question


MEX: Problem creating a cell matrix and assign it to the output
Dear All, By using a MEX file, I am trying to loop through array "group_ptr" with size 1000×1 to make a cell with size 4×1. g...

mehr als 7 Jahre ago | 1 answer | 0

1

answer

Question


Clustering faces of multiple triangulated 3D surfaces
Dear All, I have two matrices (F and V for faces and vertices) which contain the triangulation of bunch of points in 3D. F sh...

mehr als 7 Jahre ago | 0 answers | 0

0

answers

Question


Problem using mxGetPr for accessing array of type double
Dear All, I am using mxGetPr function to retrieve the data of an array of type double. #include "matrix.h" #include...

mehr als 7 Jahre ago | 1 answer | 0

1

answer

Question


How can I call "UNIQUE" function in a MEX file?
Dear All, How can I call "UNIQUE" function (or any other MATLAB function) in a MEX file? Thanks, Ahmad

mehr als 7 Jahre ago | 1 answer | 0

1

answer

Question


ISOSURFACE: identifying the connected faces
Dear All, I have extracted the isosurfaces of variable "A" in a 3D volume data. For a specific value of "A", say A=1, I get t...

mehr als 7 Jahre ago | 2 answers | 0

2

answers

Question


SLICE: Hiding the edges of slice
Dear All, I have sliced the volume data using slice function. Now I want to hide the edges of its mesh. How can I achieve thi...

mehr als 7 Jahre ago | 1 answer | 0

1

answer

Question


Can GRIDDATA interpolate a 3D triangulated closed surface to ordered structure?
Dear All, I have obtained a 3D triangulated closed surface from "isosurface" function. Now I need to convert this surface fro...

mehr als 7 Jahre ago | 0 answers | 0

0

answers

Question


Integral of a vector dotted with unit normal over a triangulated surface
Dear All, I have obtained a triangulated surface by isosurface function in three dimensional space. I am trying to perform an...

mehr als 7 Jahre ago | 0 answers | 0

0

answers

Question


Convert an image pixel coordinate to physical coordinate
Dear All, I have a 2D array over the range xmin<x<xmax and ymin<y<ymax which contains the color intensity of each point. It l...

mehr als 7 Jahre ago | 2 answers | 2

2

answers

Question


Vectorizing three nested loops
Dear All, How can I vectorize the following three nested loops? I tried using arrayfun but I did not succeed in doing it. ...

mehr als 7 Jahre ago | 1 answer | 0

1

answer

Question


convert randomly spaced data points to an image
Dear All, I have a set of randomly spaced 2D data and would like to convert it into an image. I want to create an image whose...

mehr als 7 Jahre ago | 1 answer | 0

1

answer

Question


GPU max function
Hi everyone, what is the equivalent statement for the following code using GPU? max(A,[],1) where A is a 1310720×2 ar...

mehr als 8 Jahre ago | 1 answer | 0

1

answer

Question


examine points which are inside a polygon by GPU
Hi All, Does anyone know how I can speed up inpolygon function by using GPU? Thanks.

mehr als 8 Jahre ago | 2 answers | 0

2

answers

Question


how to initialize an M×N array whose size is unknown in for-loop
Hi All, I am trying to read 150 text files. Each contains the value of x and y. x is the input of an experiment and y is the me...

mehr als 8 Jahre ago | 4 answers | 1

4

answers

Question


parfor (file reading)
Hi all, I am trying to use parfor in order to speed up the reading of 1000 ascii files. Each file is in the following format: ...

mehr als 8 Jahre ago | 1 answer | 0

1

answer

Question


negative r squared
I have fitted the line y=x which passes through origin to a bunch of data by using cftool. I got a negative r squared for the co...

mehr als 8 Jahre ago | 1 answer | 0

1

answer

Question


fitting 1D data to y=x polynomial (cftool)
In an experiment vector y is a measurement of vector x. I want to fit polynomial y=x to this data and find R^2. When I use polyf...

mehr als 8 Jahre ago | 1 answer | 0

1

answer

Question


Find
I have a matrix 10000×2, named A. The first column is x and the second column is y. I am trying to find the number of element wh...

mehr als 8 Jahre ago | 2 answers | 0

2

answers

Question


How do I smooth 2D vector field data?
I have a vector field in 2D. How can I smooth the data? I found smooth and smooth3 but it seems there is nothing for 2D. Could s...

mehr als 8 Jahre ago | 1 answer | 0

1

answer

Question


Parallel Processing
I am trying to read 8000 files in a for-loop. Is there any way that I can read the files in parallel to take advantage of a two ...

mehr als 8 Jahre ago | 1 answer | 1

1

answer

Question


Mesh generation for an arbitrary 3D closed surface
I have an arbitrary 3D surface and I want to generate some grids inside the surface like a CFD/FEM pre-processor to be able to d...

fast 9 Jahre ago | 1 answer | 0

1

answer

Load more