First  |  Prev |  Next  |  Last
Pages: 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135
How to turn matrix elements into Ones?
Hello! Given a square of the size ‘sq_size’. The area of the square is represented by the Square matrix A=zeros(sq_size). Given the number X, I want to turn X Elements of A into 1 by indexing A accordingly. Such that the elements that are turned into Ones are as evenly spaced as possible across ... 29 Jul 2010 19:36
Using dlmwrite to add a blank line
How do I add a blank line to my text file using dlmwrite? dlmwrite('myfile',M,Attribute???,???); Thanks! Stephen ... 29 Jul 2010 17:23
Problems with fsolve
Hi everyone, i have this code. x0 = [10^(7.0561);10^(8.9)]; options=optimset('Display','iter','MaxFunEvals',1e9,'MaxIter',1e9,'TolFun',1e-80,'TolX',1e-80); resul = fsolve(@(x) myfun3(x,K_e,K_mu,g14,R,nu_b,nu_s,L_npe,L_ppe,L_npm,L_ppm,Delta_nfix,wwpto),x0,options) final_t(k)=resul(1); final_eta(k... 30 Jul 2010 08:35
3-D point cloud to a surface
Just wondering if anyone knows of a matlab function(s) which will build a surface from (x,y,z) point cloud? I do this now using CAD software (pro-e) and I mesh the constructed surface for FEA analysis later. I'd much rather use matlab for both the surface construction & meshing (simple quad elements) if possible an... 30 Jul 2010 11:52
Interactive cursor in Matlab plots...
Newbie question...I want to include in a Matlab figure a "top to bottom" cursor line that the user can slide back and forth so that they can observe in a separate window the ordinate value where said cursor line crosses the trace. I'm just looking for a quick pointer or two; I can figure it out from there. ... 29 Jul 2010 18:29
Include dll's in standalone app
Hi All, I'm working on a program that use a dll. It is fully working properly when running in Matlab. Now I want to make a standalone version of it. Compilation is fine but it fails running giving the error message: Undefined function or variable 'MyDLLTest_proto'. To show you what I have done, here is my sample ... 30 Jul 2010 09:40
printing a structure array to a csv file
Hi there, I have a structure array Stock(1).Return, Stock(2).Return etc. I'd like to print the returns in one block to a .csv file. I tried SUCCESS = xlswrite('ret.csv',{stocks.Returns}); but it does not work. Your help will be appreciated. L ... 30 Jul 2010 09:40
Problem with xlsinfo
I am trying to read the names of worksheets in an Excel file using the command [xlsType,xlsSheets] = xlsfinfo('myfile.xls'); xlsType gets set to 'Microsoft Excel Spreadsheet', but xlsSheets gets set to an empty cell array. I am running R2009b and Excel 2007. This problem happens with both .xls and .xlsx files. ... 30 Jul 2010 09:40
mac matlab cropping off axes labels when saving
Whenever I make a plot and save it as a png, my labels tend to get cut off. It will typically cut off 2-3 letters, often cropping in the middle of a letter. It looks fine on the screen, it is not until I save that it happens. Has anybody else seen this behavior? ... 29 Jul 2010 16:17
Question about debugging a .mex file
I'm trying to use a video library called VideoIO with matlab for a machine learning project. When I try to invoke the library in matlab, I get an error saying that it can't find libavutil.so.50, one of the ffmpeg libraries that VideoIO depends on. I've checked a few different things but can't find anything that looks w... 29 Jul 2010 16:17
First  |  Prev |  Next  |  Last
Pages: 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135