How can I access a postgresql database from matlab with without matlabs database toolbox?
I tried already to use pgmex. Unfortunately it doesn't work with libpq5 (matlab immediately crashes). ...
I tried already to use pgmex. Unfortunately it doesn't work with libpq5 (matlab immediately crashes). ...
So that several curves X,Y can be mapped to another curve R,which is invertible so that I can still get X,Y from R. Anyone has ideas for this or perhaps some term I can google it myself? UPDATE I think some clarifications are deserved here. map(X,Y) => R; invertible_map(R) => (X,Y) ...
Hello all, I have some data that I would like to save to a MAT file (version 4 or 5, or any version, for that matter). The catch: I wanted to do this without using matlab libraries, since this code will not necessary run in a machine with matlab. My program uses Java and C++, so any existing library in those languages that achieves this...
I'm curious where to find a complete description of FEATURE function? Which arguments it accepts? No documentation was found. I heard only about memstats and getpid. Anything else? >> which feature built-in (undocumented) ...
I am trying to use doxygen to generate documentation for some matlab classes I have written. I am using the doxygen-matlab package, which includes a perl script to kludge matlab .m files into c++ style commented files, so that doxygen can read them. In my doxyfile, I have set (according to the instructions) FILTER_PATTERNS = *m=...
I've got a specific question and a related more general one... Why does imextendedmax() not give for example 9 in A(3,3) as a max? Generally... what is the best way for finding multiple maxes/peaks? The nice thing about imextended max is it allows a threshold where presumably everything under that threshold is not counted whereas imregio...
Hi everyone, I consider myself a beginner in MATLAB so bear with me if the answer to my question is an obvious one. Phi=0:pi/100:2*pi; Theta=0:pi/100:2*pi; [PHI,THETA]=meshgrid(Phi,Theta); R=(1 + cos(PHI).*cos(PHI)).*(1 + cos(THETA).*cos(THETA)); [X,Y,Z]=sph2cart(THETA,PHI,R); surf(X,Y,Z); %display hold on; x1=-4:.1:4; [X1,Y1] = mes...
I have a matlab script, that every now and them produces the message: Caught std::exception Exception message is: bad allocation Unexpected error status flag encountered. Resetting to proper state. What could be causing this? ...
How do you go about figuring our multiple max in a 2D image where the max aren't necessarily all the same height? I have found that the imregionalmax(), imextendedmax(), and findpeaks() functions aren't necessarily that helpful because they give many local max that are really just maxes within the background noise. I tried bw=array>imdi...
new_img = convert(img, text); (img, text) = convert_back(new_img); Can someone illustrate with a built-in image of MATALB? ...
Given the following example: >> I=[2 1 3;3 2 4] I = 2 1 3 3 2 4 >> I(:) ans = 2 3 1 2 3 4 >> I(1:2) ans = 2 3 Why does I(:) return a column vector while I(1:2) returns a shorter row vector? ...
hello. my m file is: x=0:0.01:2*pi; y=sin(x); plot(x,y) I want build this program by .exe format. i want run this .exe in a computer that dosen't has matlab. can you help me? ...
I created a GUI and used uiimport to import a dataset into matlab workspace, I would like to pass this imported data to another function in matlab...How do I pass this imported dataset into another function....I tried doing diz...but it couldnt pick diz....it doesnt pick the data on the matlab workspace....any ideas?? [file_input, pathn...
[file_input, pathname] = uigetfile( ... {'*.txt', 'Text (*.txt)'; ... '*.xls', 'Excel (*.xls)'; ... '*.*', 'All Files (*.*)'}, ... 'Select files'); D = uiimport(file_input); M = dlmread(D); X = freed(M); Getting errors with dlmread......"??? Error using ==> dlmread at 55 Filename must be a string."..need to get the data from dlmread t...
My Problem: I am using Matlab COM Automation Server to call and execute matlab .m files from a VB.Net plugin for a CAD program called Rhino 3D. The code works flawlessly when set up as a simple Windows Application in Visual Studio, but when I insert it (and make the requisite reference) into my .Net plugin and test it in the CAD program...
Has anyone ever tried doing this kinda job? ...
how to do thread in matlab? i want to run one function on two variables simulatniosly how to do it? ...
This setting in PATH: D:\MATLAB\R2007b\bin\win32 Here is a fresh bad affect by this setting for me: http://stackoverflow.com/questions/2712913/why-does-this-program-require-msvcr80-dll-and-whats-the-best-solution-for-this-k And here's an issue reported by another guy: http://groups.google.com/group/ggobi/browse_thread/thread/dacea0...
Hi there, i figured I must use a MEX-File to output Digital pulses in a loop (40 kHz) from Matlab to my DAQ-Board, I have some APIs from the DAQ-Board vendor, but I really dont know if they are useful. It´s a big documentation on the Mathworks website about MEX-File and APIs, that just make me confused. So I´m asking here if someone ca...
Is the default linear discriminant analysis (LDA) in Matlab the Fisher discriminant analysis? ...