How do I write a rk4 matlab program to solve a 1st order ODE?
I have an ODE y'=1-x+4y; y(0)=1 . I have to solve this using the 4th order runge-kutta method in MATLAB. I cannot use the ode45 or any other similar preprogrammed matlab funtions. It has to loop 100 times with a step size of .01. any hints or examples would help! thanks! ... 8 Sep 2005 20:55
Matlab does not work with high baudrates?
Everyone, I have a virtual serial port (this actually connects to an FTDI USB device), running at 1000000 baud. In C++ I can easily open the serial port and assign a value of 1000000 to the BaudRate field of the DCB and everything will function fine. Now I have to do the same from Matlab. I tried the following... 8 Sep 2005 14:12
using GUI
Hi. I've made a program by using matlab *.fig (call it 'chi'), but i wont to create in 'chi' a new figure (call 'generate') whith popup menu, push buttons end texedit where could i generate vector with random numbers and export it to textedit in 'chi'. but i have not idea how to do it... to create new figure ... 7 Sep 2005 21:11
calling matlab from a C# client problems
I create data in a client c# program and pass it to matlab. The "InvalidCastException was unhandled" error occurs at matlab.GetVariable ("a", "base"); matlab.PutFullMatrix ("a", "base", pr, pi); The full code is out of R14SP2 external interfaces documentation "Examples of a MATLAB automation server" ... 4 Sep 2005 22:04
Integration MATLAB with vb.net
I build a MATLAB dll named TEST1. I would like to pass an image from picture box in vb.net to the TEST dll. But, I got this error: "Input argument "A" is undefined" This is coding in TEST1 dll: function ImageProcessing = test2(A) This is coding in vb.net that call the wrapped dll Dim A As Object = imgTP1.Imag... 4 Sep 2005 21:03
image segmentation
I need matlab code or concept for fine texture image segmentation through frequency domain ... 3 Sep 2005 13:58
matlab project
sir i am a novice in matlab and i am having no previous knowledge in it. I want to make a project using MATLAB .can you suggest me some project topics regards -Paritosh Ghildiyal ... 2 Sep 2005 19:08
Global Variables Go Weird When Compiled...
Hello Matlab experts. Over the past few days I've been fighting with Matlab and global variables. What I'm trying to do in a Nutshell: 1) Read in data from a MatLab MAT-file containing matlab variables 2) Use those variables in a compiled matlab function - This needs to run stupidly fast, so using plhs[] and ... 2 Sep 2005 14:52
Matlab Com-VB interaction
Hi, I have an vb application that requires a Matlab dll. By using Com builder I created a dll which I then load into VB program. But when I run the VB program I get the following error message where the dll call is made: "Error: Subscript indices must either be real positive integers or logicals" I ha... 2 Sep 2005 19:08
toolbox_healer
Hi I seem to be accumilating a file called toolbox_healer<some number>.log in my temp directory. Does anyone know what this is about? Thanks BullDog ... 22 Sep 2005 05:31