First
|
Prev |
Next
|
Last
Pages: 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216
How to use ColorOrder for a added plot line? Dear all ColorOrder is used for plot line color in axes. However, when add a new plot line to an exist axes, it will plot the line from the beginning ColorOrder. Here is an example: plot(rand(10,2)) % plot 2 lines in axes, which have blue and green color respectively hold on; plot(rand(10,1)) % add a new ... 21 Jul 2010 11:20
contol points of b-spline turns to NAN by optimizing with fmincon hello. i optimized with fmincon some b-splines. control points of b-splines are variations of my optimization after some iterations, the control points chage to NAN. i don't know the reason!! the knots of control points seem to be real and positive. Knots have no problem. I attach part of my object function f... 20 Jul 2010 22:20
Error when using xlswrite Hi Guys, When I tried to use xlswrite to write a huge matrix to excel, some error message displayed. For example: A=zeros(120,500); xlswrite(filename, A, 1); % filename is a certain excel file the following error happens: ??? Error using ==> xlswrite at 236 Excel returned: Error: Object returned error co... 20 Jul 2010 21:15
Shift matrix in y direction Hello All, I want to shift a (120,120) matrix spatially.I used the following program and got the final image shited along x, as in I am able to shift the data right and left.i am having trouble with shifting the data up and down. clear all; fid = fopen('Homo_noabs_S4D4.bin','r+'); A = fread(fid,'double'); a=... 21 Jul 2010 10:14
Multivariate minimization with constraints Hey guys, I want to minimize the following function. I'm running a monte carlo simulation to calculate spreads of Collateralized Debt Obligations (CDOs). I want to minimize the difference of my model spread and the market spread by varying my model parameters "mu","a" and "b". To keep this model valid, a constraint ... 21 Jul 2010 09:08
how to edit xml file how do i edit the xml file so that it uses the value of r? idea is to be able to make this a function with a stack of xml files for which a childnode in all the files has to be changed with new value of r r=25; xDoc = xmlread(fullfile('sample2.xml')) allListItems = xDoc.getElementsByTagName('region'); qtssao=a... 21 Jul 2010 11:20
disable TeX parsing for axes titles Hi, I am trying to use a file name as a title for a set of axes. The code I am using looks like this: set(get(gca,'Title'),'String',file_name); where file_name is a variable containing, well, the name of a file. the problem is that the file name contains underscore characters, which are interpreted as signa... 20 Jul 2010 20:10
Exporting C program to simulink Hi, I just wanted to know what is the easiest way to export a C program to simulink,do we need to convert the c program to mex file? Thanks, Mahesh ... 21 Jul 2010 12:26
How to display lines while using ginput I am using ginput to draw a polygon on a screen. I don't get access to all the points that were picked until after the user hits enter so I cannot draw the points/lines on the screen til after the user hits enter. This makes it difficult to draw things with lots of points. Is there a way to mark the points as th... 20 Jul 2010 17:58
Coordinate conversion with proj.4 Hello, I have some points recorded with GPS in lat/long format and I want to convert them to Gauss-Kruger plane projection. My intention is to do it with proj.4 library because I have used it before through VBA. In VBA code this procedure had the following form: *declared function1 and its library: Declare Fu... 20 Jul 2010 17:58 |