답변 있음
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년 초과 전 | 0

답변 있음
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년 초과 전 | 1

답변 있음
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년 초과 전 | 0

답변 있음
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년 초과 전 | 2

답변 있음
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년 초과 전 | 0

답변 있음
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년 초과 전 | 0

답변 있음
integration with matlab
Check: cumtrapz, quad, and the whole quad-family of functions. HTH,

14년 초과 전 | 0

답변 있음
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년 초과 전 | 0

| 수락됨

답변 있음
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년 초과 전 | 0

| 수락됨

답변 있음
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년 초과 전 | 0

답변 있음
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년 초과 전 | 0

| 수락됨

답변 있음
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년 초과 전 | 0

답변 있음
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년 초과 전 | 0

답변 있음
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년 초과 전 | 0

답변 있음
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년 초과 전 | 0

답변 있음
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년 초과 전 | 0

답변 있음
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년 초과 전 | 0

답변 있음
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년 초과 전 | 0

답변 있음
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년 초과 전 | 0

답변 있음
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년 초과 전 | 0

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

14년 초과 전 | 0

답변 있음
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...

거의 15년 전 | 1

답변 있음
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년 전 | 0

답변 있음
Regarding tutorials on Image processing toolbox
Gonzalez, Woods and Eddins should be a good book too.

거의 15년 전 | 0

답변 있음
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년 전 | 0

질문


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년 전 | 답변 수: 1 | 0

1

답변

답변 있음
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년 전 | 0

답변 있음
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년 전 | 0

답변 있음
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년 전 | 0

답변 있음
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년 전 | 1

더 보기