First
|
Prev |
Next
|
Last
Pages: 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723
Trying to avoid eval() I'm trying to avoid using eval() but am at a loss. My code works fine using eval(), but I'm curious to see if somebody can solve the same problem without it. I have a class called "Wavefront" with a method called "ToMAT". Let W be an instance of a Wavefront object. I want the behavior of W.ToMAT('filen... 12 May 2010 16:58
integers to strings Hey all, I need to build filenames in a matlab script that contain numbers and concatenate them. For example, I might have files: data1.dat data2.dat data3.dat data4.dat data5.dat data6.dat data7.dat .... now, I would like to do this in a loop: something like: string='data' for i=1:n filename='[s... 12 May 2010 16:58
MWMCR instance could not be initialized Hello, Similar problem here. My .NET project referencing a dll file that wraps three Matlab functions works fine with other .NET projects of my applications but when I want to test it with a unit test project it fails with the following error message: "Test method Matlab.Tests.StatisticalToolboxTests.TestDistribus... 12 May 2010 15:50
create a new column vector Hi, I am pretty new to matlab. I am trying to create a new column variable "newcl", but I don't get newcl variable in the workspace. could anyone help me ? Thanks ! a = [1,1,2,3,5,10,20,13,2,8,12,2,4,5,9,4,10]' b = [1,2,3,4,5,6,7,8,9,10,11,6,4,5,20,3,4]' if (a > b) newcl = -1; end ... 12 May 2010 14:42
Cell mode turned on, but code folding isn't working Using R2010a and R2009b... I have a large script m-file (~188k lines) auto-generated by COMSOL Multiphysics (a finite element solver). 99.99% of those lines are oddly formatted COMSOL data (which I can't easily read in from a mat file). I would be content to wrap these data sections in cell tags (%%) and fold ... 12 May 2010 13:36
CPSELECT Can cpselect, the control-point selection GUI, as part of the workflow in another GUI ? ie, launch "cpselect", then wait for the user to select the control points, and then continue. and how can i retrive those point and using that recover the image to original Any suggestions? ... 12 May 2010 13:36
ODE Tolerance - ode113 If I fix ATol= 1e-6 and Rtol=1e_6 , how do I find the net tolerance level of ode113? ... 12 May 2010 13:35
CRC help I am a beginner to Simulink. I am unable to utilize the general CRC generator block. I provided the input from a constant but I receive the following error "Error reported by S-function 'scomcrcgen' in 'untitled/General CRC Generator': This block does not support multi-channel frame signals." "Error in port width... 12 May 2010 13:35
superimpose scatter to surf plot Hi, I want to plot a scatter point together with a surf plot previously created.The problem is that the surf plot does not allow to see the scatter point. Is there anyway to superimpose the scatter point? The steps followed to create the figure are the following: surf(coordenadas_X,coordenadas_Y,flujo_energi... 12 May 2010 13:35
fminsearch and multiple inputs to function I am editing some legacy code in which fminsearch is implemented as, [x, fval] = fminsearch('myfun', x, options, arg1, arg2, arg3) ; where 'myfun' is the name of a saved function myfun.m that takes input arguments x, arg1, arg2, and arg3, each of which are vectors (though most with just one element). myfun.m retur... 12 May 2010 15:50 |