First  |  Prev |  Next  |  Last
Pages: 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535
fixing a number in a matrix
Hi, I am trying to prepare a matrix, I have a for loop and in this loop I increase every number in the matrix by one and make some calculations, when I finish my calculations then I need to say fix one number in my matrix and make zero the other numbers in the same row. Same calculations need to be done again from t... 8 Jun 2010 17:11
pre-allocation of a compex matrix
How can i pre-allocate a complex matrix with zeros everywhere? If i use this command x=zeros(5,6)+j*zeros(5,6), I end up with a real matrix if I use this x=zeros(5,6)+j*ones(5,6); then I do not have zeros in the imaginary part. Any ideas? ... 9 Jun 2010 15:19
.shp and .fig on same Figure
I have the generic landareas.shp that I am trying to plot a contour figure on. How do I go about putting this map over the graddata I have made. They are both on the same axis system (Lat, Long) Is there any way to snap the two axis together? Thanks ... 8 Jun 2010 13:42
Offset XY Plot
I have a list of xy points (around 1000) and am trying to be able to graph a line that is offset from these xy points. It works well if the line curves in a convex way, but when any area of the line is concave it doubles back on itself. I wrote this function that will take x y points and offset the points by a certain ... 8 Jun 2010 14:51
Add a row to a uitable while program is running
"Kyle" <kyle.m.douglass(a)gmail.com> wrote in message <grtrpj$2vr$1(a)fred.mathworks.com>... Does the current implementation of uitable support adding and removing rows while the GUI is running? If so, what property of the uitable do I need to change to do this? I'm using GUIDE, if this at all matters in answering my qu... 8 Jun 2010 13:42
Initial value of Embedded Matlab Function
Hello, i have a trouble with initial value of variable in Embedded Matlab Function. I've found similar topic but i the errors still appear. http://www.mathworks.co.uk/matlabcentral/newsreader/view_thread/249084 My code: function [xx, cs1,number_point] = fcn(x,xr) %#eml persistent ini if isempty(ini) ... 8 Jun 2010 14:51
bar plot basic problem
Hi, I'm trying to plot a simple bar plot that should contain 3 bars. I write: bar([1 2 3],[0.23 0.45 0.533],'r') this function should plot 3 bars of high: 0.23 0.45 an 0.533, instead my Matlab creates sqare 1x1 filled with red and hell knows how long horizontal line at y=0. the same thing happens when I try ... 8 Jun 2010 16:01
How to get the right substring of strings?
Hi all, I have many strings with the following format: "abc12" "bcde2" "cef333" All of them have letters on the left and numbers on the right. I would like to obtain all these numbers on the right side of the strings, MyNumbers=ObtainTheNumberSuffix(InputStrings) ObtainTheNumberSuffix('abc12') ... 8 Jun 2010 14:51
How to make my code faster? Hate my stupid coding!
How to make my code faster? Hate my stupid coding! Hi all, Here is my code: here the two matrices are Nx2 dTmp1 and dTmp2. dTmp1(:, 1) and dTmp2(:, 1) are datestamps. dTmp1(:, 2) and dTmp2(:, 2) are data. Basically I want to do the following: if someone give me a set, either the intersection or union ... 8 Jun 2010 13:42
erratic parallel computing parfor error
Hi all, I have a code that runs MultiStart global optimisation in parallel on my computer's 4 cores. Recently I have at times found myself facing the program aborting with an error. However, sometimes the code runs fine without a problem, and I have yet to see a pattern in when it aborts because of the error. The er... 11 Jul 2010 23:47
First  |  Prev |  Next  |  Last
Pages: 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535