Respondida
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...

casi 15 años hace | 0

Respondida
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; ...

casi 15 años hace | 0

| aceptada

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

casi 15 años hace | 0

Respondida
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 ...

casi 15 años hace | 1

Respondida
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...

casi 15 años hace | 0

Respondida
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

casi 15 años hace | 0

Respondida
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 ...

casi 15 años hace | 1

Respondida
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...

casi 15 años hace | 1

Respondida
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....

alrededor de 15 años hace | 0

Respondida
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...

alrededor de 15 años hace | 1

Respondida
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 ...

alrededor de 15 años hace | 0

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

alrededor de 15 años hace | 0

Respondida
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...

alrededor de 15 años hace | 9

| aceptada

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

alrededor de 15 años hace | 1

| aceptada

Respondida
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...

alrededor de 15 años hace | 0

Respondida
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...

alrededor de 15 años hace | 1

Respondida
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...

alrededor de 15 años hace | 0

| aceptada

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

alrededor de 15 años hace | 0

Respondida
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...

alrededor de 15 años hace | 0

| aceptada

Respondida
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: ...

alrededor de 15 años hace | 0

| aceptada

Respondida
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...

alrededor de 15 años hace | 1

| aceptada

Respondida
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...

alrededor de 15 años hace | 0

| aceptada

Respondida
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...

alrededor de 15 años hace | 0

Respondida
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,...

alrededor de 15 años hace | 2

Respondida
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...

alrededor de 15 años hace | 0

| aceptada

Respondida
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...

alrededor de 15 años hace | 0

| aceptada

Respondida
.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...

alrededor de 15 años hace | 2

Respondida
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...

alrededor de 15 años hace | 0

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

alrededor de 15 años hace | 0

| aceptada

Respondida
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...

alrededor de 15 años hace | 1

Cargar más