Beantwortet
Bypass a Line Plotted in the Legend
If you call plot with an output argument: ph = plot(randn(10)); You can select which lines to have in the legend: l...

mehr als 14 Jahre vor | 0

Beantwortet
3dB beamwidth from matrix
You could use contourc: C = contourc(X,Y,H,[-3 -3]); where you get the 3-dB curve from the C array that is built thisly:...

mehr als 14 Jahre vor | 1

Beantwortet
extract 3D surface from 3D volume data
Algorithm in steps: # Extract the surface elements in x y z and val Done! Since we cant know how you define the surface, t...

mehr als 14 Jahre vor | 0

Beantwortet
What do you think of Cody, new service for MATLAB Central
Once uppon a time there were irregularly golfing contest problems on CSSM. I found those fun, inspirational and occasionally edu...

mehr als 14 Jahre vor | 2

Beantwortet
Adding legends
If the default legend function does not cut it for you, maybe one of the variants found on the file exchange gets the job done: ...

mehr als 14 Jahre vor | 0

Beantwortet
Piece-wise linspace
Why bother searching for a cunning loop-free version (non-explicit) when the looped version is so straightforward? How much time...

mehr als 14 Jahre vor | 0

Beantwortet
integration with matlab
Check: cumtrapz, quad, and the whole quad-family of functions. HTH,

mehr als 14 Jahre vor | 0

Beantwortet
Making an equidistant latlon grid from a non equidistant latlon grid
Look at the matlab function: griddata, (there is nowadays a similar function with a new name that eludes me at the moment.) or J...

mehr als 14 Jahre vor | 0

| akzeptiert

Beantwortet
satellite image pre-processing
Brute looping of this kind of problem shouldn't be too bad. sz = size(SImg);szMean = sz; szMean(3) = ceil(szMean(3)/8); ...

mehr als 14 Jahre vor | 0

| akzeptiert

Beantwortet
How to calculate the focal length from an image
From an image you need to know the direction (phi,theta, or their proper position [x,y,z]) to a number of identifiable objects i...

mehr als 14 Jahre vor | 0

Beantwortet
3D Tilted projection
From the looks of your figures it seems as if you have parallel beam projection geometry. For the 2-D-to-1-D case your projectio...

mehr als 14 Jahre vor | 0

| akzeptiert

Beantwortet
Graphs aren't showing up well when imported in to other programs - can I thicken lines?
In addition to thickening the lines you should consider saving your plots to eps - then you get the benefits of having your imag...

mehr als 14 Jahre vor | 0

Beantwortet
Converting mpg video file to image file?
If you only want to convert the video frames to images I suggest that you use mplayer to do that part of the job: <http://wik...

mehr als 14 Jahre vor | 0

Beantwortet
How to make intensity attenuated image or defocused image
If you want to do real optical ray-tracing through the imaging lens, there are a couple of submissions in the file exchange: ...

mehr als 14 Jahre vor | 0

Beantwortet
Problem with surf / pcolor / image
Use something like this: pcolor(x,y,I),shading flat That should give you your I with constant intensities for each pixel...

mehr als 14 Jahre vor | 0

Beantwortet
noise removal without bulitin functions
Sure thing! You can for example use the excelent <http://www.mathworks.co.uk/matlabcentral/fileexchange/20645> tool to manual...

mehr als 14 Jahre vor | 0

Beantwortet
How to remove the background/background noise from the images that comprise my video?
In addition to medfilt2, you can also play around with wiener2 (Lee's sigma filter). Then there are a bunc of filter functions o...

mehr als 14 Jahre vor | 0

Beantwortet
how deal with date?
Yup, there is. First you have datestr, datevec and datenum. Those should handle most if not all of this task. HTH,

mehr als 14 Jahre vor | 0

Beantwortet
2D filter increases saved file size
Then this puzzles me a bit. In my case filtered images have less noise and compress better. Are your image a synthetic, or even ...

fast 15 Jahre vor | 0

Beantwortet
how to close waitbar
If you don't want it to run period, just edit the function that creates it and comment out all instances of waitbar. If you want...

fast 15 Jahre vor | 0

Beantwortet
Calling another program
You could start with the "system" command: [status,result] = system('program arguments'); If you need more complex int...

fast 15 Jahre vor | 0

Beantwortet
Dashed contours in a .eps figure appear solid
Ok, I just happened to have to deal with this ordeal. Here is a solution that gets the job done: % Make the contours (and...

fast 15 Jahre vor | 1

Beantwortet
Solving coupled differential equations
That would just be 6 lines of code in the function defining your DE: function dxy = deFcn(t,xy) dxy(1) = C1 * (xy0 -...

fast 15 Jahre vor | 0

Beantwortet
Regarding tutorials on Image processing toolbox
Gonzalez, Woods and Eddins should be a good book too.

fast 15 Jahre vor | 0

Beantwortet
want to follow my iteration - how?
If you want to see what's going on you can use: disp([v_m,v_m_try,v_0_try,R_try]) If that is not detailed enough check t...

fast 15 Jahre vor | 0

Frage


FEX-question: Linestyle submission
There are several file exchange submissions which improves the line-plotting of matlab. Currently I'm looking for a submission t...

fast 15 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
Printing a scatterplot with '-depsc' results in a bitmap
If everything fails, maybe you could stick with the open-gl/z-buffer renderer and simply remove all text decorations, and then f...

fast 15 Jahre vor | 0

Beantwortet
function handle does not work
For clarity and reduced confusion I suggest that you also name the funtion with the same name as the file. That is change: ...

fast 15 Jahre vor | 0

Beantwortet
Numerical Integration
In addition to UJJWAL's suggestions you might benefit much from looking up the Chebfun project: <http://www.mathworks.co.uk/mat...

fast 15 Jahre vor | 0

Beantwortet
Incorrect autoscaling during plot command in matlab
That figure looks OK to me I guess. "Guess" since I dont know what your data going in was... What points are you missing? ...

fast 15 Jahre vor | 1

Mehr laden