waitbar for parfor loops
> N=100; BEEN_DONE_VEC=false(N,1) wait_handle=waitbar(0); parfor (IND=1:N) BEEN_DONE_VEC(IND)=true; waitbar(wait_handle,mean(BEEN_DONE_VEC)) ...do something end I had a similar idea. Matlab did not accept it though, since it will regard the mean(...) command (I used sum(...)) as something incons... 20 Nov 2009 07:50
Need help regarding simscape
"Rendy Dalimunthe" <rendy_mustang(a)yahoo.com> wrote in message news:hcoh2o$nv7$1(a)fred.mathworks.com... Dear Matlab Community, I intend to build a full car model of active suspension system that will be controlled by Fuzzy. I want to build it in simscape but still have no idea. I've know already abou... 3 Nov 2009 04:54
Data loss in imread() and imwrite()?
Trying to modify a JPG file captured by my digital camera, original file size is about 2MB. A = imread('pic1.jpg', 'JPG'); %3D matrix, each element is a uint8. imwrite(A, 'picout.jpg'); %picout.jpg < 1 MB. Where data lost? Thanks ... 5 Nov 2009 02:17
h infinity controller design for mimo systems
hi i have to design a h infinity controller for doubly fed induction generator for maximum power tracking i have written the code for it but getting errors the code is clc clear ws=104; wsl=0.2*ws; p=3.14; Ts=-1; kl=1000; wl=50; wh=1000; kh=10^-4; %state space equations of plant model b1=[1 0 0 0 ;0 1 0... 3 Nov 2009 02:44
DICOM SPM5 preprocessing error messages
Hello! I'm getting these error messages in matlab while trying to convert DICOM to ANALYZE format. Can anyone help me with this? ??? Error using ==> mat2file at 16 mat2file.c not compiled - see Makefile Error in ==> file_array.subsasgn>subfun at 125 mat2file(sobj,dat,va{:}); Error in ==> file_array.subsasg... 3 Nov 2009 08:10
Pattern Classification using Neural Network ( newff)
Hello, I am trying to classify a 4 class problem (each class has 20 features ) using neural network. So, in order to reduce the complexity, i used newff function to get the weights. The problem is i am not very familiar with newff function usage ( the samples are not classified properly- same sample set is bei... 13 Nov 2009 02:15
latex problem in textbox
hi all, I want to put a latex table in the textbox of a figure. This all works fine but in the table I want to have a subscript where it says 'v_L' in the code below. cs = '\begin{tabular}{lll} v_L&=&0.7 m/s\\ S&=&1.02 +- 0.01\\ t&=&16.67 sec \end{tabular}'; ha = annotation('textbox',[0.15 0.75 0.3 0.15], 'Int... 3 Nov 2009 15:58
reading HDF5 dataset subset
Using the low-level HDF5 functions in Matlab, I have generated some HDF5 files with several datasets that are each 512x512x1410. I need to be able to read subsets of these different layers. Looks like hdf5read does not have subsetting capabilities like hdfread, so I am guessing I need to use low-level functions such ... 4 Nov 2009 09:41
DS-CDMA matlab source code
My Friends, I need a matlab code for a simple CDMA transmitter and receiver. please help ... 2 Nov 2009 16:49
HMM code.. Please help me
Consider the use of hidden Markov models for classifying sequences of four visible states, A-D. Train two hidden Markov models, each consisting of three hidden states (plus a null initial state and a null final state), fully connected, with the following data. Assume that each sequence starts with a null symbol and end... 2 Nov 2009 13:29