Generation of correlated random numbers
Roger, I want to generate 12 random data with known distribution, mean values and standard deviations. However, there are correlations between variable 1, 5 and 9 (that is, there are three correlations, P15, P19, and P59). The left variables are independent. What should I do with three correlations? I do ... 8 Oct 2009 05:39
Simple plot troubleshooting
I wanted to make a simple plot with Matlab 7 with the following m-file: %Plotting a parabole e=-2:0.25:2; f=e.^2+1; plot(e,f) It gave an error meassage. I tried an other computer, and it was working. (in a university cluster room) Other simple functions were working with all pc-s, only the plot caused the proble... 7 Oct 2009 10:45
CPFSK BER
Looking at the bertool results for M= 4, h= 1/2 CPFSK, an Eb/No of 3dB results in a BER of 1e-3. Looking at the phase trellis and constraint length for single-h operation, it's not clear how this can be achieved. What are the assumptions? Feel free to point to a reference if needed. ... 7 Oct 2009 10:45
CREATING A TOOL BAR
CAN WE CREATE A TOOL BAR IN MATLAB? ... 7 Oct 2009 10:45
loop a matrix
Hi, I have a matrix A which depends on a variable b as follows: [A1] = b[A] Now I want to vary b with some increments and store the matrix A1 for different values of b. The values inside [A] are constant. I wrote the following codes. It works but doesn't store the data for each value of b. I heard it can be do... 7 Oct 2009 14:09
Improving precision in fminunc
Hi, I am trying to minimize a non-linear function in two varibles. To test whether it works, I have tried using a function to which I know the solution. When my starting guess IS the solution, fminunc of course returns the starting guess as it should. However, when I vary the starting guess just slightly, the precis... 8 Oct 2009 08:56
Non-Normally distributed data
Hello, I have to do some statistical analysis with my data but my data is not normally distribtued. Is there any way to make it close to normal distribution? I have statistical toolbox but can't see any tool to make it normally distributed. I shall be thankful for your help. Regards, Sam ... 8 Oct 2009 07:50
multidimensional data in svmclassify
Hi, all. I'm newbie in Matlab. I would like to know whether svmtrain and svmclassify could be used on my multi-dimensional dataset? I know it could handle 2D data well but I'm not sure whether it could classify data with more than 2D correctly? ... 7 Oct 2009 07:27
Output dimensions in L2 M-files S-function block
Hello, I'm using a L2 M-files S-function block in a simulink model. The block has a vector as Input and should return a matrix as output. When running the simulation, i have this error message : memory allocation error. At the beginning i had this error : attempt to assign a matrix to a vector. I modified the code ... 7 Oct 2009 03:05
uigetfile problems
Can somebody please help me, it seems obvious , but i cannot figure it out i am using A=csvread(uigetfile(('*.csv'),'Select the ','C:\..\...')); to read the file from a folder, it seems simple , but when i pick the file. matlab gives me error ??? Error using ==> csvread at 38 File not found. i get same er... 6 Oct 2009 18:13