Risposto
Accessing Workspace variables
A = whos; for ii = 1:numel(A) A(ii).name end Cheers, Brett

oltre 15 anni fa | 1

Risposto
Separating Objects in an Image
I agree with Walter about the depth ambiguity, but I think you still might be able to get reasonably good results with this imag...

oltre 15 anni fa | 1

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

oltre 15 anni fa | 0

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

oltre 15 anni fa | 0

| accettato

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

oltre 15 anni fa | 0

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

oltre 15 anni fa | 1

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

oltre 15 anni fa | 0

Risposto
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

oltre 15 anni fa | 0

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

oltre 15 anni fa | 1

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

oltre 15 anni fa | 1

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

oltre 15 anni fa | 0

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

oltre 15 anni fa | 1

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

oltre 15 anni fa | 0

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

oltre 15 anni fa | 0

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

oltre 15 anni fa | 9

| accettato

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

oltre 15 anni fa | 1

| accettato

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

oltre 15 anni fa | 0

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

oltre 15 anni fa | 1

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

oltre 15 anni fa | 0

| accettato

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

oltre 15 anni fa | 0

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

oltre 15 anni fa | 0

| accettato

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

oltre 15 anni fa | 0

| accettato

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

oltre 15 anni fa | 1

| accettato

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

oltre 15 anni fa | 0

| accettato

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

oltre 15 anni fa | 0

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

oltre 15 anni fa | 2

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

oltre 15 anni fa | 0

| accettato

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

oltre 15 anni fa | 0

| accettato

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

oltre 15 anni fa | 2

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

oltre 15 anni fa | 0

Carica altro