Description:
The MathWorks calculation and visualization package.
|
|
|
java heap space error
|
| |
Hi all my problem is that for retrieve a large number of rows from a mysql database, with database toolbox, I have a java heap space error: out of memory. The error is with exec function on sql execution. I have to retrieve 4, and more, milion of records. I can not increase the java memory with file java.opts because the program will run on the pc where there isn't matlab, only runtine component.... more »
|
|
Rectangle merging
|
| |
[Ilabel num] = bwlabel(Iedge); Iprops = regionprops(Ilabel); Ibox = [Iprops.BoundingBox]; Ibox = reshape(Ibox,[4, num]); imshow(I) hold on; for cnt = 1:num rectangle('position',Ibox(:,cn t),'edgecolor','g'); end Here is the code in which some rectangles are formed around the elements. 'num' are the number of rectangles formed. 'Ibox' is the array in which its xmin,ymin,width and height is stored. But how can i access the values of each rectangle. Like instead of ':' what else can i use??... more »
|
|
apply dual filter to cell array
|
| |
Hello, I have a 4x7 cell array where each cell contains 1000 rows of data. I need to apply a 2nd order butterworth dual low pass (6hz) to each cell... and aviod changing to a matrix. I am using [b,a] = butter(2,6/500,'low') to get my coefficients but then I don't know how to apply these in the filtfilt function for my cell array.... more »
|
|
how to using multiple values of vector for ODE solver equation
|
| |
i have problem in my program i created one variable 'v' in main file , the value of that variable is used in the equation in other program as global variable. when i run main program having ode45 solver for that equation having variable 'v' it gives error ??? Subscript indices must either be real positive integers or logicals.... more »
|
|
matlab image process
|
| |
I don't know matlab and I begin to learn matlab for this project I need to understand every line in this code now I don't understand anything I don't understand the commands in this code and I will glad if anybody can help me to understand what is write in this code or give me a link that explain any commands that appear in this code... more »
|
|
opmitization for loop
|
| |
I want to solve an implicit equation (dispersion equation) around 100000 times. At the beginning of the calculations the script goes fast but little by little it goes slower and slower. I suppose the problem lies on the for loop, but i do not know how to optimize the script. Any help is appreciated!... more »
|
|
how to say Matlab to not scale the plot graph ?
|
| |
hi, how can I set the scale of my plotted graph using "plot" ? Let's say I want my graph displaying the range from 0 to 10.000 on my x axis, regardless the values of my data. At the moment matlab scale the plot with respect to the data. thanks
|
|
mex error involving xtimesy.exp and xtimesy.lib
|
| |
Hello! I am trying to learn how to write mex files, going through the example *.c files provided, the help manual, etc. I have been able to compile the example *.c files using the command ...and I have also been able to write my own simple *.c files which compiled fine. The latest step in developing my own code involved a call to a MATLAB function, something simple like "abs()" which takes a single input argument and returns a single output argument. Assuming I've got all my variables properly defined, the call looks like this:... more »
|
|
Solving System of Highly Non-Linear Equations
|
| |
I need to solve a system of 7 highly non-linear functions: syms p1 p2 p3 p4 p5 p6 epp2 eq1 = '((x1(i-1)/x1(i))^(p1-1))*dx1( i) + epp2*(x1(i-1)^p1-x1(i)^p1)*(x1 (i-1)^(p1-1))*p1=dx1(i-1)'; eq2 = '((x2(i-1)/x2(i))^(p2-1))*dx2( i) + epp2*(x2(i-1)^p2-x2(i)^p2)*(x2 (i-1)^(p2-1))*p2=dx2(i-1)'; eq3 = '((x3(i-1)/x3(i))^(p3-1))*dx3( i) + epp2*(x3(i-1)^p3-x3(i)^p3)*(x3 (i-1)^(p3-1))*p3=dx3(i-1)';... more »
|
|
How to find a color map with white background and still good for eye diagram plot
|
| |
Hi, I found the default color map for eye diagram plotting function in matlab is back in background. eye = commscope.eyediagram('Sampling Frequency', Fs,'SamplesPerSymbol', 80,'PlotType', '2D Color'); How can I find a colormap with white background and still good for eye diagram plot? Just like what Agilent scope used in white background setting?... more »
|
|
|