![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/7563956_1533301106247_DEF.jpg)
Ilian
Followers: 0 Following: 0
Feeds
已回答
column circular permutaion on a matrix
If you just want to rotate the rows this could work: s = -3; % shift (both positive and negative values work) rows = size(A,1)...
column circular permutaion on a matrix
If you just want to rotate the rows this could work: s = -3; % shift (both positive and negative values work) rows = size(A,1)...
4 years 前 | 0
已回答
How do I get a for loop to check a row for conditions?
If you want to use a for loop, you could have a look at if statement with multiple conditions % Your conditions a = 200; b ...
How do I get a for loop to check a row for conditions?
If you want to use a for loop, you could have a look at if statement with multiple conditions % Your conditions a = 200; b ...
4 years 前 | 0
| 已接受
已回答
Calculate the mean of nonzero pixels and set a threshold
If you just have a threshold, you don't even need to ceate an explicit mask: m = mean(volume(volume>=0.001)); % average of all ...
Calculate the mean of nonzero pixels and set a threshold
If you just have a threshold, you don't even need to ceate an explicit mask: m = mean(volume(volume>=0.001)); % average of all ...
4 years 前 | 0
已回答
crop multiple images with freehand
imcrop should have a rectangle as input, but you have a mask. You could use roi = drawrectangle(); instead of imfreehand and t...
crop multiple images with freehand
imcrop should have a rectangle as input, but you have a mask. You could use roi = drawrectangle(); instead of imfreehand and t...
4 years 前 | 0
| 已接受
已回答
Changing image background from black to white
You can try using connected components. With relatively simple problems this could work: img_original = imread('image.jpeg'); ...
Changing image background from black to white
You can try using connected components. With relatively simple problems this could work: img_original = imread('image.jpeg'); ...
4 years 前 | 1
| 已接受
已回答
remove variables in txt file
You could remove the header line first with something like this: fileID = fopen('p_s.txt'); dataFormat = '%f %s'; C_text = te...
remove variables in txt file
You could remove the header line first with something like this: fileID = fopen('p_s.txt'); dataFormat = '%f %s'; C_text = te...
4 years 前 | 0
| 已接受