Feeds
提问
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 ...
10 years 前 | 1 个回答 | 0
1
个回答提问
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...
11 years 前 | 2 个回答 | 0
2
个回答提问
write string in text file
How can I write some strings in text file (each strinng in one line)? example: Happy New Year
11 years 前 | 6 个回答 | 0
6
个回答提问
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...
11 years 前 | 1 个回答 | 0
1
个回答提问
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); ...
11 years 前 | 2 个回答 | 0
2
个回答提问
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 ...
11 years 前 | 1 个回答 | 0
1
个回答提问
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....
11 years 前 | 2 个回答 | 0
2
个回答提问
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...
11 years 前 | 2 个回答 | 0
2
个回答提问
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; ...
11 years 前 | 2 个回答 | 1
2
个回答提问
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...
11 years 前 | 1 个回答 | 0
1
个回答提问
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...
11 years 前 | 1 个回答 | 0
1
个回答提问
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...
11 years 前 | 1 个回答 | 0
1
个回答提问
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...
11 years 前 | 1 个回答 | 0
1
个回答提问
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...
11 years 前 | 1 个回答 | 0
1
个回答提问
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 ...
11 years 前 | 1 个回答 | 0
1
个回答提问
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+...
12 years 前 | 2 个回答 | 0