Answered 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)...
Answered 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...
9 months ago | 0
| accepted
Answered 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'); ...
10 months ago | 1
| accepted
Answered 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...
10 months ago | 0
| accepted
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.