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

etwa 15 Jahre vor | 0

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

etwa 15 Jahre vor | 0

| akzeptiert

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

etwa 15 Jahre vor | 0

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

etwa 15 Jahre vor | 1

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

etwa 15 Jahre vor | 0

Beantwortet
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

etwa 15 Jahre vor | 0

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

etwa 15 Jahre vor | 1

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

etwa 15 Jahre vor | 1

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

etwa 15 Jahre vor | 0

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

etwa 15 Jahre vor | 1

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

etwa 15 Jahre vor | 0

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

etwa 15 Jahre vor | 0

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

etwa 15 Jahre vor | 9

| akzeptiert

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

etwa 15 Jahre vor | 1

| akzeptiert

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

etwa 15 Jahre vor | 0

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

etwa 15 Jahre vor | 1

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

etwa 15 Jahre vor | 0

| akzeptiert

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

etwa 15 Jahre vor | 0

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

etwa 15 Jahre vor | 0

| akzeptiert

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

etwa 15 Jahre vor | 0

| akzeptiert

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

etwa 15 Jahre vor | 1

| akzeptiert

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

etwa 15 Jahre vor | 0

| akzeptiert

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

etwa 15 Jahre vor | 0

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

etwa 15 Jahre vor | 2

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

etwa 15 Jahre vor | 0

| akzeptiert

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

etwa 15 Jahre vor | 0

| akzeptiert

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

etwa 15 Jahre vor | 2

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

etwa 15 Jahre vor | 0

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

etwa 15 Jahre vor | 0

| akzeptiert

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

etwa 15 Jahre vor | 1

Mehr laden