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

más de 14 años hace | 0

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

más de 14 años hace | 1

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

más de 14 años hace | 0

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

más de 14 años hace | 2

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

más de 14 años hace | 0

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

más de 14 años hace | 0

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

más de 14 años hace | 0

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

más de 14 años hace | 0

| aceptada

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

más de 14 años hace | 0

| aceptada

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

más de 14 años hace | 0

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

más de 14 años hace | 0

| aceptada

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

más de 14 años hace | 0

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

más de 14 años hace | 0

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

más de 14 años hace | 0

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

más de 14 años hace | 0

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

más de 14 años hace | 0

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

más de 14 años hace | 0

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

más de 14 años hace | 0

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

más de 14 años hace | 0

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

más de 14 años hace | 0

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

más de 14 años hace | 0

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

más de 14 años hace | 1

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

más de 14 años hace | 0

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

más de 14 años hace | 0

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

casi 15 años hace | 0

Pregunta


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

casi 15 años hace | 1 respuesta | 0

1

respuesta

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

casi 15 años hace | 0

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

casi 15 años hace | 0

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

casi 15 años hace | 0

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

casi 15 años hace | 1

Cargar más