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년 초과 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 전 | 답변 수: 2 | 0