Réponse apportée
identifying positions of a string within a text file
Lots of ways. This one uses regular expressions: mystr = 'line $$ 1 $$ line 2' newstr = regexprep(mystr,'\$\$','New_Stri...

presque 15 ans il y a | 0

Réponse apportée
over lap image onto another image??
Consider: a = magic(7) b = rand(2,3) a(3:4,4:6) = b % Or, more generally,: startrow = 3; startcol = 4; ...

presque 15 ans il y a | 0

| A accepté

Réponse apportée
Image Processing (related to image comparison)
Once you've segmented your regions of corrosion, the function REGIONPROPS will be quite useful!

presque 15 ans il y a | 0

Réponse apportée
Issue with fractional step-sizes
y(1) refers to the first element of y. y(2) is its second element. What does y(1.5) refer to? Your problem is in your use of ...

presque 15 ans il y a | 1

Réponse apportée
Segmenting using X-Y co-ordinate axis
XY coordinates are non-standard (in MATLAB) for displaying images. But non-standard doesn't mean "not doable." Using the AXIS XY...

presque 15 ans il y a | 0

Réponse apportée
to plot different graph in a single window
If you want to plot IC vs VCE _and_ IB, you might want to consider using PLOT3 or SURF. Or some other 3D visualizer. Brett

presque 15 ans il y a | 0

Réponse apportée
How do I increase the speed of a line plot?
Daniel, Withoug seeing your code, it's difficult to guess what's causing the slowdonw. But try using LINE instead of PLOT. I ...

presque 15 ans il y a | 1

Réponse apportée
How to plot navigation points on an indoor floorplan
Look at the <http://www.mathworks.com/access/helpdesk/help/techdoc/ref/quiver.html QUIVER> command (and HOLD ON, of course). Tha...

presque 15 ans il y a | 1

Réponse apportée
How to find direction (directional vectors) of a moving object in a video?
The Video and Image Processing Blockset provides <http://www.mathworks.com/access/helpdesk/help/toolbox/vipblks/ref/opticalflow....

presque 15 ans il y a | 0

Réponse apportée
Cursor line
I would create a line object for each axes, and use <http://www.mathworks.com/access/helpdesk/help/techdoc/ref/linkprop.html LIN...

presque 15 ans il y a | 1

Réponse apportée
Reading a txt file with different number of rows for each column
Noga, Read the <http://www.mathworks.com/access/helpdesk/help/techdoc/ref/textscan.html doc for |textscan|>. There's a section ...

presque 15 ans il y a | 0

Réponse apportée
Random Corner Patches
Harris corner detection is the default for the Image Processing Toolbox function <http://www.mathworks.com/access/helpdesk/help/...

presque 15 ans il y a | 0

Réponse apportée
what is the difference between image and imshow ?
|image| is a MATLAB command that visualizes your matrix as simply a matrix of numbers. The colors used to represent each value m...

presque 15 ans il y a | 9

| A accepté

Réponse apportée
Apply Zoom in other axes
See the help for <http://www.mathworks.com/access/helpdesk/help/techdoc/ref/linkaxes.html LINKAXES>. Cheers, Brett

presque 15 ans il y a | 1

| A accepté

Réponse apportée
box counting to boundary
Damodara, There are no MathWorks-supported functions (Toolbox or otherwise) that I'm aware of for box counting. There are, ho...

presque 15 ans il y a | 0

Réponse apportée
Select axes for zoom in/out
img = imread('cameraman.tif'); f = figure; ax(1) = subplot(1,2,1); imshow(img) ax(2) = subplot(1,2,2); imshow(i...

presque 15 ans il y a | 1

Réponse apportée
Problem with origin and plotting axes
Is this what you're looking for? >> x = [-0.5 0.5 0.5 -0.5]; >> y = [-0.5 -0.5 0.5 0.5]; >> plot(x,y,'ro') >> axis...

presque 15 ans il y a | 0

| A accepté

Réponse apportée
Day of year to month
How about this? D = datevec(datenum(1992,1,1:1/24:365, 0,0,0)); Cheers, Brett

presque 15 ans il y a | 0

Réponse apportée
Inserting numbers into a vector
Michael, See if you can figure it out from this response: <http://www.mathworks.com/matlabcentral/answers/1085-inserting-a-c...

presque 15 ans il y a | 0

| A accepté

Réponse apportée
inverse Fourier transform
Look at the dimensions of your z matrix. (size(z)). Then make sure the number of x values matches the first dimen Consider: ...

presque 15 ans il y a | 0

| A accepté

Réponse apportée
Accessing Hyperspectral Images Using MATLAB
If the images are stored in .mat files, you should be able to LOAD them with core MATLAB--no special Wavelet-reading functions n...

presque 15 ans il y a | 1

| A accepté

Réponse apportée
Create workspace file automatically.
I think you mean "variable," not "file." Right? for ii = 1:numel(a) eval(sprintf('%s = %d',a{ii},b(ii))); end Chee...

presque 15 ans il y a | 0

| A accepté

Réponse apportée
Day of year to month
If you have 365 days, for instance, but no month information, you can simply increment the DAY position in datenum: mydate...

presque 15 ans il y a | 0

Réponse apportée
Determining whether a point on earth (given latitude and longitude) is on land or ocean
I think this will do it. It is a binary classifier: Ocean/Land. coast = load('coast.mat'); [Z, R] = vec2mtx(coast.lat,...

presque 15 ans il y a | 2

Réponse apportée
finding a closed region
Create a mask of your regions (blobs). Then use the fourth syntax of <http://www.mathworks.com/access/helpdesk/help/toolbox/imag...

presque 15 ans il y a | 0

| A accepté

Réponse apportée
finding the length of a pendulum in motion
property = regionprops(lab,'Centroid') returns a struct, the fields of which correspond to each ROI (blob) in lab. To convert th...

presque 15 ans il y a | 0

| A accepté

Réponse apportée
.Fig to .m file
Lina, From your GUIDE-built GUI, pull down from the File menu to EXPORT. That should generate a MATLAB file that will recreat...

presque 15 ans il y a | 2

Réponse apportée
executable file without supporting file?
When you build your application (using Deploytool, for instance), you will need to provide hard links to the supporting dll's. T...

presque 15 ans il y a | 0

Réponse apportée
feature extraction
Hi Shiwani, I frequently present an advanced image processing course with coin recognition as the over-arching goal. Here are...

presque 15 ans il y a | 0

| A accepté

Réponse apportée
Is there some function in Matlab with which I can dilate only a small ROI in the image?
Actually, it doesn't really matter how the ROI is defined, nor what shape it is. The function <http://www.mathworks.com/help/too...

presque 15 ans il y a | 1

Charger plus