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

mer än 13 år ago | 1 answer | 0

1

answer

Question


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

mer än 13 år ago | 3 answers | 2

3

answers

Question


INDEO5
I am trying to make a movie by avifile. I want to compress the movie by INDEO5. I have Windows 7 64bit and I am running MATLAB 7...

mer än 13 år ago | 1 answer | 0

1

answer

Question


Creating a mesh from scattered x,y,z points
Hi, How can I create a close or open surface which passes through some (x,y,z) points (scattered points)in space? When I use m...

mer än 13 år ago | 1 answer | 0

1

answer

Question


subtracting a constant from all the array elements in a structure
I have defined an array of struct, named A. A is the profile by which the experiment is done. There are 4 profiles. A has a m...

mer än 13 år ago | 1 answer | 0

1

answer

Question


Reshaping cell array having element with different sizes
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...

mer än 13 år ago | 2 answers | 0

2

answers

Question


Array Comparison
I have two vector V and myFilter. V contains the value of a variable in a 2D domain. Suppose the 2D domain is a rectangle wit...

mer än 13 år ago | 1 answer | 0

1

answer

Question


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

mer än 13 år ago | 3 answers | 0

3

answers

Question


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

mer än 13 år ago | 1 answer | 0

1

answer

Question


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

mer än 13 år ago | 2 answers | 7

2

answers

Question


Save
How can I save variables that is used inside a function? Can I somehow use SAVE command that save the local variables of a funct...

mer än 13 år ago | 1 answer | 0

1

answer

Question


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

mer än 13 år ago | 3 answers | 0

3

answers

Question


Replacing and Inserting a text in an ASCII file
How can I insert a text with multiple lines and also replace a text in an ASCII file?

mer än 13 år ago | 3 answers | 0

3

answers

Question


convert logical cell array to double
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...

mer än 13 år ago | 3 answers | 0

3

answers

Question


Find the index of the element of a cell array which has the maximum size
I have a cell array (B) which has elements having two columns and different number of rows. I want to find the element which has...

mer än 13 år ago | 2 answers | 0

2

answers

Question


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

mer än 13 år ago | 4 answers | 0

4

answers

Question


array subscripting
I have a struct variable defined as follows: my_data(3) = struct('x',[],'y',[],'f',[]) for i=1:3 my_data(i).x = [1 2 3...

mer än 13 år ago | 1 answer | 0

1

answer

Question


Single-Colon Indexing for Struct Variables
I have an array of structure variable defined as: my_data(100)=struct('x',[],'y',[]); x and y are vectors containing coordin...

mer än 13 år ago | 1 answer | 0

1

answer

Question


defining arrays of structure
In order to increase the speed of processing, I am trying to define an array of structures before proceeding to my main code, sa...

mer än 13 år ago | 1 answer | 0

1

answer

Question


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

mer än 13 år ago | 3 answers | 0

3

answers

Question


custom reshaping of multidimensional arrays
I have a multidimensional array in the form VOLD(X,Y,TIME,Z,VAR) such as VOLD(128,128,25,17,4). How can I reshape the array in t...

mer än 13 år ago | 1 answer | 0

1

answer

Question


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

mer än 13 år ago | 2 answers | 1

2

answers

Question


How can I train myself in working with arrays professionally?
Are there any resources for learning about arrays? I want to learn how to take advantage of their efficiency both in speed and s...

mer än 13 år ago | 1 answer | 0

1

answer