Octave Matrix Manipulation Programming Computer Science by borchu … 0 | WITHOUT using for loop || is it impossible in GNU octave? second question is, also related the 1. one I have… Cannot use axis command of Octave in expect !! Programming Software Development by matharoo …normal']) command it give out the error following error : [CODE]octave:1> x = 1:1:3 x = 1 2 …(x,y) octave:4> grid minor on octave:5> xlabel('Test-No.') octave:6> ylabel('Results') octave:7> … line 25) [/CODE] here's my script: [CODE] spawn octave sleep 1 expect "> " sleep 1 send "… Re: GNU Octave for C++: How to start? Programming Software Development by daviddoria …:) For some reason I always have to change in octave.h [code] extern OCTINTERP_API int octave_main (int argc,…code] You then have to link your program to 'octave' and 'octinterp'. My CMakeLists.txt file looks like this…) INCLUDE_DIRECTORIES(/usr/include/ /usr/local/include/ /usr/include/octave-3.2.4/ ) LINK_DIRECTORIES(/usr/lib /usr/local/lib… Re: GNU Octave for C++: How to start? Programming Software Development by daviddoria …:/usr/lib/octave-3.2.4 #include <octave/octave.h> #include <octave/oct.h> #include <octave/parse.h&…, 1)) { TestRand(); OneParam(); Test2(); SetDir(); Prob(); } else { error ("Octave interpreter initialization failed"); } return 0; } void Test2() { octave_value_list f_arg… Re: Cannot use axis command of Octave in expect !! Programming Software Development by matharoo I have found the answer! You have to use a slash '\[' where ever you enter square brackets to help octave understand the command entered automaticallu/ Re: GNU Octave for C++: How to start? Programming Software Development by tesuji Hi I don't have octave experience, I am using matlab. But I know there is a octave library for c/c++. Maybe this small [URL="http://wiki.octave.org/wiki.pl?CodaTutorial"]tutorial[/URL] helps a little. There is a further advanced [URL="http://wiki.octave.org/wiki.pl?CodaAdvanced"]tutorial[/URL]. -- tesu how can i interface with octave with c++ Programming Software Development by jessada.dissopa I wonder how to interface octave with c++ I already have m-file that can run on octave but I want to run a C++ program that can get/send command from/to octave Anyone can guid me? Is there any link for the tutorial or example code? Re: GNU Octave for C++: How to start? Programming Software Development by valeriy_zf … the point when I can use the C++ code ("octave.h" library is missing and other...). So, there are…: 1) Do I need to install the full "GNU Octave" on my computer, before trying it on C++? 2…) How can I connect the Octave to C++? (Which libraries I have to export and where… Re: how can i interface with octave with c++ Programming Software Development by Ancient Dragon have you tried asking that question to their mailing list at help@octave.org? ([link here](http://www.gnu.org/software/octave/support.html)) GNU Octave for C++: How to start? Programming Software Development by valeriy_zf How to start using the GNU Octave libraries for Visual C++? I've read carefully the site … interested in this example: [url]http://www.gnu.org/software/octave/doc/interpreter/Nonlinear-Equations.html[/url] Starting from words: "… Re: GNU Octave for C++: How to start? Programming Software Development by valeriy_zf … recently, and I don't know how to use the Octave libraries for Visual C++. So I am wondering if you… happy to see step by step how to use the Octave procedures or connect to Visual C++ any other procedure which… Is there any means to interface "Octave" from Java? Programming Software Development by jessada.dissopa following the article title, I'm dealing with octave, it goes right on command line. but I need to build GUI for my program to easier interface with people. then I chose Java to build GUI. my problem is to connect my GUI java to Octave. Anybody has ideas to do that? Re: GNU Octave for C++: How to start? Programming Software Development by Manlin86 Hello. Have you got your problem solved? I am doing the same thing recently, and I don't know how to use the Octave libraries for Visual C++. So I am wondering if you could help me. Thank you~ Manlin Re: GNU Octave for C++: How to start? Programming Software Development by Manlin86 Yeah, it will be really good if we can connect Octave to Visual C++. Let's hope someday we can do this. Thank you for your time! Re: Is there any means to interface "Octave" from Java? Programming Software Development by JamesCherrill …, then you can use the Java *ProcessBuilder* class to drive octave's command line interface "behind the scenes" and… GNU Octave: Sorting Analysis : Generate Data Programming Computer Science by rhoit …++ which went to disaster and i finally end up using Octave. I successfully tested for [B][U]Random[/U] and [U… Re: Octave Matrix Manipulation Programming Computer Science by borchu Here is code that trying to use min. iterative solution [CODE] filter = ones(3)/(sum(sum(ones(3)))) Image = [1,2,3,4;2,3,4,5;3,4,5,6;] Output = zeros(rows(Image), columns(Image)) cImage = vertcat(zeros(1, columns(Image)+2),(horzcat(zeros(rows(Image), 1), Image, zeros(rows(Image), 1))), zeros(1, columns(Image)+2)) for i=2:rows(Image)+1 for j=… Re: how can i interface with octave with c++ Programming Software Development by jessada.dissopa I haven't yet, but I think may be some of community have experienced with it. Re: how can i interface with octave with c++ Programming Software Development by Ancient Dragon When working with something as specialized as that it's best to start with their own forums and mailing lists. Posting such questions on public forums like DaniWeb is a little like trying to hit the moon with a [BB gun](http://en.wikipedia.org/wiki/BB_gun) Re: GNU Octave for C++: How to start? Programming Software Development by valeriy_zf Thank you very much Dave! Sorry, I just recognized your answer (I didn't get any notification on my mail box). I'm going to try and realize this example and post here my feedback.. Thanks again! Re: Is there any means to interface "Octave" from Java? Programming Software Development by stultuske also: a good advice for a next thread. when you say "interface", a lot of us will misunderstand your question.if you are talking about a Swing interface, it is better to refer to a "user interface" or a "graphical user interface" Re: GNU Octave: Sorting Analysis : Generate Data Programming Computer Science by rhoit I successfully tested for all the test cases [U]Test cases[/U] [LIST=1] [*]Random Data (completed) [*]Reverse Sorted Data (completed) [*]Almost Sorted Data (completed) [*]Highly Repetitive Data (completed) [/LIST] But Its taking almost too much time... for n=1 to 200 with increment of 10 it almost took 2 min... It crossed the max recursion doing… Can't hear PMIDI Programming Software Development by caribedude ….NewVoice() t.SetInstrumentByName('French Horn') m = t.NewMeasure() # contains note/octave pairs str1 = "C4D4E4F4G4A4B4C5C5B4A4G4F4E4D4C4" noteList = list(str1) print noteList… # test the list # NewNote(beat,duration,note,octave) # pitch is note, octave # NewMeasure() by default numbers itself each time it is… Memory Leak Programming Software Development by death_oclock …[i - 1].soprano, realization[i].tenor)) bad = true; //parallel octave/fifth between soprano-tenor diff = absInterval(realization[i - 1].alto…realization[i - 1].soprano, realization[i].bass)) bad = true; //parallel octave/fifth between soprano-bass } } return fitness; } ACTUAL_CHORD **getEliteRealizations(int length… Help accessing nested structures Programming Software Development by zapman2003 …->pitch = 1; } } //Transpose Octave Up procedure,including any local variables void transposeOctaveDown(…->pitch = 7; } } //Transpose Octave Down procedure,including any local variables void doubleTheDuration(…gt;name = temp; } } //Reverse in Octave procedure,including any local variables void reversePitchDuration(SCORE *score… Re: How to tell if a button is clicked Programming Software Development by TrustyTony …LEFT, expand=TRUE, fill=BOTH) #create buttons for keyboard octaves octave = self.octave1 self.key_note = {} for note, key in…partial(self.play_note, key=key)) self.key_note[key] = note #octave.bind('ButtonRelease-1', self.stop_note) # does not function #pack Frames… Re: MIPS ASSEMBLY Problem with branch being bypassed Programming Software Development by phillytennisguy …only accept piano and low for instrument and octave, respectively. It only gets through the first …,or guitar): " octavePrompt: .asciiz "Select octave (lo,med,or hi): " msg2:.asciiz "…;\nInvalid instrument" msg3:.asciiz "\nInvalid octave" instrumentspace: .space 8 octavespace: .space 8 instrpiano… Re: [Mathcad] How to Extract Data from Old Files? Programming Software Development by TrustyTony This [url]www.gnu.org/software/octave/doc/interpreter/Simple-File-I_002fO.html[/url] seems to indicate that Octave can handle such files. One idea would be to use Sage environment, so you could use various tools in Python/matplolib, octave etc. Overkill for your needs maybe, but why not. help with wavplay Programming Software Development by Nayeema … with the wavplay function. i need to generate the piano octave do, re,me... in matlab using this function. i know… equal to the frequency of a specific tone in the octave? i would greatly appreciate any help on this matter have… private vectors of classes Programming Software Development by greatunknown … have a class... [code] class Note { private: string step; string octave; string duration; }: [/code] with the appropriate access functions, and then… is the best method to access the data (presumably step, octave, and duration) in each instance of the vector Measurenum. Note…