提问


How do I index into a 2D matrix using two equal length R and C vectors?
I have a 2D matrix rho, and two vectors of indices R and C. How do I use R and C to index into rho? >> rho=d rho = ...

13 years 前 | 2 个回答 | 1

2

个回答

已回答
Image comparison with respect to edges - 2
This is my interpretation of your question:"How do I find the first valid image which has a slit in it? I cant use |any| because...

13 years 前 | 0

| 已接受

已回答
simple cwt (continuous wavelet transform) axis question
This series of <http://users.rowan.edu/~polikar/WAVELETS/WTpart3.html tutorials> might be useful. interest = data(chosen_sc...

13 years 前 | 0

已回答
DLL creation to use in LabVIEW
I believe LabVIEW can be viewed as the 'applications which loads a dll as a plugin' in this <http://www.mathworks.com/support/so...

13 years 前 | 1

已回答
Rotate clouds of points
x=1:.01:2; y=sin(2*pi*x); plot(y,x,'k*'); hold on; % rotate by 30 clockwise around (0,0) % http://en.wikipe...

13 years 前 | 0

已回答
Reading Direct from Disk or Image
I assume the file in the drive is accessible to your OS. You can try using |fopen| and |fread| to read binary data into MATLA...

13 years 前 | 1

已回答
Creating a netcdf File in Matlab 2010b
The example <http://www.mathworks.com/help/techdoc/ref/netcdf.putvar.html here> shows how to create one variable in a NetCDF fil...

13 years 前 | 0

已回答
read small selection of data from large file
If you have the option to change the source or if you plan to use the data over and over again, it might be best to change the f...

13 years 前 | 0

已回答
writing binary file segment by segment
Its hard for me to debug your code without the data (or dummy data) and without an idea on what the code is supposed to do. ...

13 years 前 | 0

已回答
writing binary file segment by segment
Some hints: 1. Use <http://www.mathworks.com/help/techdoc/ref/multibandread.html multibandread> with the 'Offset' parameter i...

13 years 前 | 0

| 已接受

已回答
Random rotation of a bunch of points in a known plane
Maybe this gives you some ideas on how to start: % Generate N random points on a plane N = 100; x = rand(1,N); y =...

13 years 前 | 1

已回答
Saving a sequence of images
Alex, you were close. IMWRITE accepts a string name for the file, it does not know how to insert 'x' into the name. So you sh...

13 years 前 | 1

| 已接受

已回答
How to edit a specific variable inside a Netcdf file?
NetCDF does not let you delete a variable from a file. Your best bet is to create a new file from the existing one, copying ...

13 years 前 | 0

已回答
Fitting Scattered Data to a Spherical Surface
Air code: (havent given it much thought, will try to get back to it later). Consider this a hint for now. %r phi and th ...

13 years 前 | 0

已回答
Binary Generation
The <http://www.mathworks.com/help/techdoc/ref/dec2bin.html dec2bin> function converts decimal numbers into binary equivalent st...

13 years 前 | 0

已回答
Finding center of circle and eccentricity
The image processing toolbox has a <http://www.mathworks.com/products/imageb/indexb.html?sec=tour&subsec=demo&file=/products/dem...

13 years 前 | 0

已回答
want to read and write a multiband image
You could try <http://www.mathworks.com/matlabcentral/fileexchange/15629 this> file exchange submission. If that doesnt work,...

13 years 前 | 0

| 已接受

已回答
Image Processing: Finding areas of high contrast
Your description mirrors 'edge detection', here's some detail on one of the ways to do this: <http://en.wikipedia.org/wiki/Sobel...

13 years 前 | 0

已回答
Smoothing contact distribution diagram in 3-D
If the smoothing is just for visualization, maybe you could use simple low-pass filtering. E = rand(18,36)+2; theta = linspa...

13 years 前 | 0

| 已接受

已回答
Writing and modifying attributes to h5 files
HDF5 attributes cannot be 'overwritten' with a different datatype. Since both the functions you mention work for you in crea...

14 years 前 | 2

已回答
Image cropping across multiple files
You ought to be able to accomplish this with |imcrop| itself. First use this: [I1c rect] = imcrop(I1) Which returns t...

14 years 前 | 2

| 已接受

已回答
Meshgrid
Either use <http://www.mathworks.com/help/techdoc/ref/interp2.html interp2>, <http://www.mathworks.com/help/techdoc/ref/griddata...

14 years 前 | 0

已回答
3d image preprocessing- reading and loading images from a folder
If the files follow an order sequence of names, you can use the document example <http://www.mathworks.com/help/techdoc/import_e...

14 years 前 | 0

| 已接受

已回答
Find position of the values of an array in a second array
With the above code, this correction should yield you your required output: dls(i)>look(j) You might be able to write this...

14 years 前 | 0

| 已接受

已回答
Segmentation of 3D Brain MR Images
You could skip that first step by directly obtain synthetic MR images from <http://mouldy.bic.mni.mcgill.ca/brainweb/>. You can ...

14 years 前 | 1

已回答
Plotting ellipses around plotted points
You could try using the *rectangle* function. Take care to offset the 'Position' by the width and height to ensure that the cent...

14 years 前 | 2

| 已接受