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

14 years ago | 0

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

14 years ago | 1

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

14 years ago | 0

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

14 years ago | 2

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

14 years ago | 0

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

14 years ago | 0

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

14 years ago | 0

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

14 years ago | 0

| accepted

Answered
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); ...

14 years ago | 0

| accepted

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

14 years ago | 0

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

14 years ago | 0

| accepted

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

14 years ago | 0

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

14 years ago | 0

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

14 years ago | 0

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

14 years ago | 0

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

14 years ago | 0

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

14 years ago | 0

Answered
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,

14 years ago | 0

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

14 years ago | 0

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

14 years ago | 0

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

14 years ago | 0

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

14 years ago | 1

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

15 years ago | 0

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

15 years ago | 0

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

15 years ago | 0

Question


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

15 years ago | 1 answer | 0

1

answer

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

15 years ago | 0

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

15 years ago | 0

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

15 years ago | 0

Answered
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? ...

15 years ago | 1

Load more