FFT old program
Dear all I hope someone might be able to help me. I have been given some code to analyse the surface roughness of rails and convert it into acoustic noise. Part of the coding is shown below. Hs=spectrum.welch('Hann'); Hopts = dspopts.spectrum; set(Hs,'SegmentLength',seglength); set(Hs,'OverlapPercent',50); s... 28 Mar 2010 12:21
reshape
Dear Jane! I have tried. I am not sure how to pick rows. For example the rows 1, 405, 809, 1213,1617,2021 are equal to 1x3 each so these 1x3 must be underneath each other. maybe i need to do something like this but i am not sure. A1=rand(30,3) reshape(A1,1,30,3) . reshape to have.. the 1... 25 Mar 2010 11:27
auto save an image
figure,imshow(cropRGB) hold on h = imshow(cropRGB1); set(h, 'AlphaData', 0.4) Hi everyone, The above segment of the code is used to overlay two images. I want to auto save the resulting image showing the overlap of the two images so that I will be able to retrieve this image using 'imread'. Pls help and thanx... 25 Mar 2010 11:27
struct2cell
Hi, I am trying to use struct2cell with a symbolic object with matlab version 7.9 and i get the following error message: ??? Undefined function or method 'struct2cell' for input arguments of type 'sym'. When I try to perform the same operation on matlab 7.6 everything goes smoothly. Does anybody knows what is goi... 25 Mar 2010 11:27
medini unite diff merge tool for simullink and stateflow
For your information a new version 1.3 of medini unite will be released next week medini unite is a new generation powerfull and userfriendly tool allowing comparing and merging MATLAB Simulink and Stateflow models. Key features: - compare graphically any MATLAB Simulink models and any Stateflow models - merge... 25 Mar 2010 11:27
SimScape Pneumatic HELP!
Hey guys, I have used MATLAB a lot to produce car suspensions systems and image processing and the likes but a recent problem come to me is to model an air mains system and i tried using SimScape but need a bit of help. The System is pretty straight forward a compressor that has a flow rate of 52l/s that feeds i... 23 Apr 2010 20:58
load multiple files
Hi, I quite new in Matlab and I need some help. I have a lot of .mat files in one directory with different names (they look like this 040123#.mat, only the last part of the name is different). In the .mat files are matrices with different size and names. These matrices has the same name in each .mat file, so if I l... 25 Mar 2010 11:27
importdata function behavior changed w/r/t Excel dates
I had code that ran without issues. Now all of a sudden, MATLAB is treating imported dates from Excel (formatted) as numbers instead of strings. The behavior is sporadic. For example, using "importdata" I imported this: 1/1/2010 1 1/1/2011 2/1/2010 2 2/1/2011 It is importing as 1/1/2010 1 4054... 25 Mar 2010 11:27
how to display 3D histogram and intensity map at the same time?
The first example in the hist3 function shows a density histogram and intensity map plotted on the same figure. When I follow the exact instructions (with the Seamount data) they don't appear together - I can show one or the other but not both on the same figure. Can anyone help please? ... 25 Mar 2010 17:25
video compression matlab code
Hi all, my problem with video compression. assume we have 100 images, how can we compress and regenerate video from those images using matlab code. your ideas will help me so much in my research. Thanx in advance ... 25 Mar 2010 11:27