Other Languages
Forum Post

Matlab, cell arrays

Hi Matlab community I desperately need help with matlab. My data are stored as cell arrays (1x48 cells)(please, see attachment). Each cell contains 5 cells {1,1}, {1,2}...{1,5}. Cells {1,1}...
Forum Post

Matlab homework help

Hi, I have a (beginners) matlab assignment and I'm having trouble getting started. I was given a 3 page xls called grades.xls. I'm supposed to create an .m file that will recreate the xls (including...
Forum Post

confirm rand

Hi, I am using Matlab version 6.1. I am using the Rand function to generate random numbers but would like to clarify a number of things. Is RAND based on the CPU Clock cycle? Also, if I use...
Forum Post

small matrix question

Sorry for the simplicity of this question. If I have two matrices, one 1000 cells long, the other 4.5 million long. I want to multiple them to create a third matrix 4.5 million cells long, where the...
Forum Post

Re: Problem with FMINCON, please help!

Yes now it works perfectly, thanks a lot!! Last question: is there a way (which would be above my expectations) with this method to minimize not the mean squared error but a "volume weighted mean...
Forum Post

Re: Problem with FMINCON, please help!

Yes, you are right, sorry. You have to specify it in the fit type (for the example I use only z as parameter): xdata= ; ydata= ; z=ydata(5); z2=xdata(5); f = fittype('z*(1-(0...
Forum Post

Re: Need help with this code please

At this line, in the first cicle, x='Iris-setosa'. I can't understand why you try to convert this string to a number. The function str2num convert a number in a string to a number: str2num('5')...
Forum Post

Re: data processing

You can try in this way: fid = fopen('file.txt', 'r'); a = textscan(fid, '%s',fid,'delimiter','\n'); b=[]; n=0; for i=1:size(a{1},1) c=strcmp(a{1}{i}(1),'#'); if c==0 n=n+1...
Forum Post

Assembly to Lisp paid project

Anyone interested in creating a new Lisp (lsp) file from a assembly output from a disassembler? We can get to a deal. Here is a sample of the source file: 03113 67 B If...
Forum Post

Re: is binary important

: : : Imho, a programmer that doesn't know about the binary system or how data is stored in memory is like a fish that doesn't know how to swim. : : : : No, it's a fish who doesn't know what...
Forum Post

Re: is binary important

: Imho, a programmer that doesn't know about the binary system or how data is stored in memory is like a fish that doesn't know how to swim. : No, it's a fish who doesn't know what water is....
Forum Post

Re: x86 16bit...32?

accessing memory is what i was really what i was questioned about...er but thanx thanx all, il come again
Forum Post

Re: Programming Languages

0 no rows returned
Forum Post

Re: C++ speed vs. Fortran

: : Using the Intel C++ compiler we get a massive 30% increase in FPS for graffics in a game engine when compared to the standard MS VC compiler. : : That's a rather bizarre blanket statement to...
Forum Post

Re: C++ speed vs. Fortran

: : you might also try your experiment with Intell's c++ compiler because I understand it optimizes code better than other compilers for the Intell CPU chips. : : : : : Using the...
Forum Post

Re: Regular expression in 'c' language

hi, lets see if we can clear these doubts, u r having. a) Assignment it is simple just use:- variable_name = value or expression yielding result of the same data type th variable is. b) For...
Forum Post

Re: Code/program protection

: Also bear in mind that slower computers will take longer to execute the piece of code, so that'll mess up the program on 386s. I was keeping that in mind, my code wouldn't work in anything...
Forum Post

Re: Help!

: This message was edited by kel1981b at 2003-10-27 5:38:27 : : : : : Try "proprietary". : : : : : : : : That I knew and would have used, but I was trying the -ize form of the word since that...
1 2  Next
 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.