Professional Interests: computer graphics, computer aided design (CAD), voxels
Top 5% contributor
so i solved it eventually.
The main problem was that i used C++ in a C file. so first thing i did was to change the file to .cp...
Answered 7 months ago
1 year ago
I have multiple (about 50) different .m files in a folder. I wish to open and run each and every one of them using a matlab...
Asked 1 year ago
So I found the answer myself.
it seems that the export_fig from the file exchange can do this if you give it an axes handle an...
Answered 2 years ago
so I solved the problem by adding this line of code in the main function
set(gcf, 'Renderer', 'zbuffer');
I guess there ...
hello, im looking for a MATLAB code that generates a polygon mesh and performs a subdivision surface algorithm on it. anyone has...
5 years ago
I have a set of 3d points (x,y,z).
I wish to compute the distance between every point and all of the other points in the ...
Asked 6 months ago
so i wrote the attached function.
I will be working with many cubes so i was wondering if there is a better implementat...
my code is attached below.
it works but i noticed something odd. after i press '+' a few times the yellow markers shri...
Asked 2 years ago
I have a polygon defined by its vertices in 2D (i.e a nX2 matrix).
I have a pixel image of size MxM.
i wish to label all...
this is more of an interface problem.
I have 2 input languages installed on my win 7.
every time i start matlab i have ...
I want to create a recursive function that gets an image matrix and turns it into a quadtree array.
so i figured the best ...
Asked 3 years ago
I am trying to creat a matrix of all possible coordinates given 2 coordinate vectors.
my code is attached below.
I know ...
I want to create a matrix that contains a struct in the first row. and integers in the next rows
for example my matrix can...
I have drawn an greyscale image from a matrix using imshow. I used Imrect to draw a rectangle on a region of the image. fro...
I am TAing a course in computer graphics and currently we are using opengl with c to implement the subject principles.
is there a function or an efficient way to find the overlap between two intervals represented in vectors.
for example for...
I have a .RAW file that represent a 3d volume using pixels (its basically a 3d matrix containing 1 or 0 wherever there is o...
I am new to mex. im using mex with PCL (Point Cloud Library).
what i want to do is calculate different features of the poi...
Asked 7 months ago
so im new to mex but very familiar with matlab.
im trying to use PCL with MEX but i keep getting a lot of errors that i do...
I wrote the code attached below.
what i wish to do now (and not sure how) is create an RGB image from the colors that...
Asked 9 months ago
I am trying to draw many patches which have a different number of vertices.
I have the vertices stored in the matrix V wi...
Asked 10 months ago
i have read every post and answer on the subject but nothing solved my problem.
I have a figure with a gui. it also...
I have read the help documentation but somtehing doesnt work as expected.
say i have a variable
I have been looking for this and surprisingly couldnt find an answer
is there a shortcut statement that would do what C code ...
say i have a vector v that can be one of previously known 11 possibilities.
is there a simple way to know which possibil...
suppose I have a matrix M which is nXn size. i wish to turn this matrix into a smaller matrix M1 which is n/numXn/num size....
I have built a UI in guide.
I have created an "edit text" function.
I wish to allow the user to insert a numeric value a...
lets say i have a vector [1,1,1]
is there a function that can convert this to the number 111 ?
I want to draw voxels in 3d space (I have them stored in a 3d matrix). i used patch to do this (or voxel function from file exch...