CT image processing
friends.. my project is based on preprocessing of ct images.. for that i have to perform point sampling of images... is there any method to do that... please let me know.. it would be highly userful... ... 4 Dec 2009 09:32
Licence question
Hi I am preparing the release of a matlab toolbox for file exchange that uses jmef, an external java library http://www.lix.polytechnique.fr/~nielsen/MEF/ My matlab toolbox then needs a jMEF.jar to be included. Should I include this file in the package ? I guess not But is it ok if I put a requirement : ... 4 Dec 2009 09:32
Simscape and Simpowersystems
Hi; I am designing a system in simscape. How can I make the JK FF in simscape library? Thanks ... 4 Dec 2009 06:16
Extracting the straingt line-fit from DETREND
Hello, I have a force time history that starts of with an offset which is equal to the preload. It is mostly cyclic. I need to filter this Force time history. If I use a low pass filter, the data at t=0 gets distorted a lot. Hence I plan to detrend it filter the signal and then add the straight line fit again to t... 4 Dec 2009 04:06
GUIDE "Attempt to reference field of non-structure array."
Hi, I wrote a simple GUI with GUIDE, and it worked until I closed MATLAB. Now it gives me a "??? Attempt to reference field of non-structure array." error. I found that this can be caused by using GUIDATA more than once in a GUIDE-generated GUI, and that this was a bug in version 7.0 I am using Matlab 7.6.0 and her... 4 Dec 2009 04:06
Keeping the same color bar in a sequence of pcolor figures
Hi, I was having the same problem until I figured it out: Type caxis( [a b] ) after your pcolor instruction. This will change the "color axis" of your figure so that its minimum will have value "a" and its maximum will have value "b". For example, if in your color scale red corresponds to the highest val... 4 Dec 2009 01:58
How to if-else in 1 line in matlab like C --- x = (d <
Thank you Justus. Actually, I want to apply on matrix and the code is just for example. The real one is F_mb = G./((D <= 500).*H1); F_mb = G./((D > 500).*H2); where D, G, H1 and H2 is matrix with the same size. I just would like to combine them into a single line. Is that possible. ... 4 Dec 2009 11:45
How to if-else in 1 line in matlab like C --- x = (d < D0)?20:30;---
I would like to do if-else in 1 line in matlab but I don't know if MATLAB has this feature. My C program is: x = (d < D0)?20:30; which is equal to if (d < D0) x = 20; else x = 30; Please suggest how can I do this for 1 line in matlab??? Thank you very much. ... 4 Dec 2009 00:53
GUIDE: 'Bring to front' moves other GUI objects
I am working on a GUI that now has a lot of layered GUI objects (checkboxes, dropdown menus, radiobuttons, etc.). Currently, I am trying to move something and add a text input field. After sorting through the fields to get to the button I need to move, I had to 'send to back' some things. Now that the button is free, I... 3 Dec 2009 19:22
Movie making
I have written the following code and I am trying to make a movie, but I receive the error ??? Subscript indices must either be real positive integers or logicals. Why does this happen? Error in ==> P4_2 at 14 M(t)=getframe; kappa = 1*10^-12; %mm^2/s Ts = 86400; %temperature fluctuation in section To = 20... 4 Dec 2009 10:38