Community Profile

photo

Ronaldo


Active since 2012

Statistics

  • Thankful Level 2

View badges

Content Feed

View by

Question


Imagesc plot (dividing the colorbar to blue-green, white, and green-red range)
I want to plot the values of a matrix ranging from -10 to 10 in a way that I can assign 1) Dark blue color to * _green_ * to ...

7 years ago | 1 answer | 0

1

answer

Question


using fprintf to print same length values
How can I use fprintf to print values with the same length (the number of digits after the pointer is changing based on the numb...

8 years ago | 2 answers | 0

2

answers

Question


write string in text file
How can I write some strings in text file (each strinng in one line)? example: Happy New Year

8 years ago | 5 answers | 0

5

answers

Question


reducing time in using for-loop
Below is the code I wrote to calculate the minimum distance of some points (shown by "A") from some lines made by pairs of point...

8 years ago | 1 answer | 0

1

answer

Question


open a hex file
I use the following code to open a hex file (please look at the attachment). fid = fopen('FileName'); A = fread(fid); ...

8 years ago | 2 answers | 0

2

answers

Question


getting '0F' instead of 'F' for dec2hex(15)
I want to apply dec2hex function to a very large matrix. For a reason which is beyond the scope of this question, I need to get ...

8 years ago | 1 answer | 0

1

answer

Question


14 bit grayscale movie/image acquisition
I have a camera which has 8-14 bit-depth. I want to get a grayscale movie and then convert the movie to 14-bit grayscale images....

8 years ago | 2 answers | 0

2

answers

Question


Overwriting a binary file
I opened a binary file by using a hxd editor software. I copied the Hex values to a text file. I want to overwrite the values in...

8 years ago | 2 answers | 0

2

answers

Question


Assigning black color to zero values of "imagesc" plot
I want to use "imagesc" to plot the following matrix: A=[9 24 6 12 6; 0 33 24 0 12; 0 0 13 14 12; ...

8 years ago | 2 answers | 1

2

answers

Question


Making a code runs faster
How can I make the following code runs faster (This a part of a larger code). I do not want to use parfor. for rotation=1...

8 years ago | 1 answer | 0

1

answer

Question


Reducing running time in image processing
I wrote a code to find circles in an image by using imfindcircles and do some other calculations on the detected circles. I plan...

8 years ago | 1 answer | 0

1

answer

Question


How do I obtain a composite of two grayscale images?
I want to make a composite of two images with "imfuse" function as follow: imfuse(A,RA,B,RB,'ColorChannels',[1 2 0]) Is th...

8 years ago | 1 answer | 0

1

answer

Question


Segmentation of bright and faint circles of an image
Is there any way in MATLAB to segment bright and faint circles of the image shared below? https://www.dropbox.com/sh/rthfy269...

8 years ago | 1 answer | 0

1

answer

Question


Saving values in parfor loops
I have a large database (1e8,4) and I want to use parfor command to do some calculations. I also want to use matlabpool comman...

8 years ago | 1 answer | 0

1

answer

Question


For loop for large database
I have a large database which contains 1e7 rows and 3 columns. The columns represent the coordinate (x,y,z) of each row. I want ...

8 years ago | 1 answer | 0

1

answer

Question


combining strings by using loops
I want to use genetic algorithm (from global optimization toolbox) to optimize a function. My function is f(x1,x2,x3)=a.*x1^2+...

9 years ago | 2 answers | 0

2

answers