Community Profile

Contact

Top 1% contributor

velocity data

5 downloads

2 years ago

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

8 Answers

1

Asked 3 years ago

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

4 Answers

0

Asked 4 years ago

I am using a structure in my script m-file. Everytime I run my code, I get the following error: ??? Subscripted assignment ...

3 Answers

Which of the two is more MATLAB-friendly? # Cell Array, or # Multidimensional Array If cell arrays are better than multidimens...

How can I check the input argument of a function to see if a specific string has been input? For example, I want to see if the u...

2 Answers

I am using solvers of |LAPACK| libraries in a |MATLAB| |MEX| file for solving linear system of equations. For some of the cases,...

Asked 1 year ago

I am trying to build the following function in a three dimensional domain. <</matlabcentral/answers/uploaded_files/13670/Un...

I have a matrix named A with size N×3. For example, A = [ 1 2 3; 1 4 5; 5 6 7; ...

Dear All, I have a 3D rectangular domain. Each point is associated with a vector(u,v,w) through time. u, v, and w are of size...

Asked 2 years ago

Dear All, I have a 4D array V, with the size [144 144 12 25]. In fact, it is a 4D medical image with 12 stacked slices in 25 ...

Dear All, I have designed a GUI which has an axes object. I want to create and overlay a mask on an image in the axes of the ...

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

I have a variable named A which is a 5000×4 cell array containing M×2 matrices. M varies for each element. 5000 is the number of...

I have a question on the application and performance of disp and sprintf. Which one is recommended? For example, what is the dif...

Is there a faster function than inpolygon? It takes forever when I want to check 1280x1024 pixels of an image whether they are i...

I have written a |MEX| file which is successfully built by: mex -v mymex.cpp However, when I want to add the debug inf...

1 Answers

I have a matrix named A with size N×3. The values of the elements of A ranges from 1 to M. For example, A with size 8×3: A ...

I have a large matrix of size 50000×3. I would like to replace the values of the elements with a new values. To illustrate my pr...

Dear All, How can I vectorize the following loop? Basically, I have a structured grid in whose node ids are stored in a array...

I am trying to translate the following snippet which is in C. char buffer[80]; strcpy(buffer,"Velocity"); fwrite(buff...

Dear All, Is it possible to use Intel MKL 10.3 in MEX? I am having problem in using MKL 10.3 along with MEX. I have no proble...

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

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

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

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

I have four 19829x1000 matrices. 1000 is the number of different measurement. I want to assign each column to an array in the fo...

Underscores print as subscript in figures. Can I disable it because I want to print the underscores as well. Thanks.

Can someone kindly help me about kriging 3D interpolation in MATLAB? Is there an efficient code for such an interpolation? It sh...

I have a 4×1 logical cell array and each element is also a 2×1 cell array. So there are 8 elements total. I want to convert them...

Load more