Frage


Help on creating a customized mask template
Dear All, I am trying to create a customized mask template similar to the following picture. Could someone please let me know...

fast 12 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 12 Jahre vor | 1 Antwort | 0

1

Antwort

Gesendet


velocity data
velocity data

fast 12 Jahre vor | 1 Download |

Frage


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

etwa 12 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

etwa 12 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

etwa 12 Jahre vor | 0 Antworten | 1

0

Antworten

Frage


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

etwa 12 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 12 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 12 Jahre vor | 8 Antworten | 1

8

Antworten

Frage


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

etwa 12 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

etwa 12 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 12 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

etwa 12 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 12 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 12 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

etwa 12 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 12 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

etwa 12 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

etwa 12 Jahre vor | 2 Antworten | 2

2

Antworten

Frage


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

etwa 12 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 12 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 13 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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.

etwa 13 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

etwa 13 Jahre vor | 4 Antworten | 1

4

Antworten

Frage


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

etwa 13 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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 13 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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 13 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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 13 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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 13 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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 13 Jahre vor | 1 Antwort | 1

1

Antwort

Mehr laden