Problems with a GUI signal processing toolbox - matlab

I'm trying to use a gui time-frequency toolbox in Matlab, but i can't find the proper function for one specific option and everytime I have to run it manually (using the gui form for calling the option)
The toolbox name is TFSA 6.3 from:
http://time-frequency.net/tf/index.php?option=com_content&view=category&layout=blog&id=38&Itemid=48
I am trying to use the LS polynomial coefficients algorithm in IF estimation tool. I know you may say that I need to read the user manual and find the right function in order to call it in the middle of program. trust me, I did it and there was nothing about this particular option.
I need to know if there is a way for using this gui toolbox without using the graphical interface, for example saving the history of my clicks...
One more thing! All the toolbox files are protected and I can't open them.

Related

Data from LabVIEW to Matlab for processing

I want to make a biometric identification system of the ECG/EKG.
Provided that Matlab does not perform Data Acquisition in Real Time (for monitoring), is there any way to make the monitoring and data acquisition in LabVIEW and then work simultaneously with Matlab for signal processing?
You could just get a matlab compatible daq and run everything in matlab. http://www.mathworks.com/products/daq/
You can indeed do some data acquisition with LabView and work simultaneously with Matlab for signal processing by calling the Matlab script node, which executes some Matlab code during vi execution.
You may have some performance issues, though, because both Labview and Matlab have to run on your machine simultaneously.
Question:
is there any way to make the monitoring and data acquisition on
LabView and then work simultaneously with Matlab for signal processing
Answers:
LabVIEW has "MathScript" node which is basic MatLab built into
an add-on. It is not the MatLab toolboxes. It runs native MatLab
code. It also runs slightly faster LabVIEW updates to the code. If
your code runs there, then LabVIEW will pass data natively
to your code. This box does not have direct MatLab toolbox access, so if
you use any special calls then that can cause a problem.
If you have MatLab on the box, then you can call the external MatLab
function/code using mathscript (link), and the MatLab will run
the function.
Clarification:
Real time just means "bounded time" (link), not "instant". If your idea of bounds are loose enough then many systems can work for them. You do not state it in your question - but what do you consider acceptable response time?
I've worked a lot with LabVIEW and Matlab. Personally, I would not use the Math Scripting node and would opt for using the Matlab Automation Server. You can call Matlab from LabVIEW using the ActiveX palette in LabVIEW (See Functions>>Connectivity>>ActiveX>>Automation Open) A couple reasons why I'd go for ActiveX and NOT the MathScript node:
The Math Script node does not allow you to change code dynamically. You must hardcode your data into the Math Script node and any future changes would require a change to LabVIEW's G code and therefore a recompile of your EXE
The Math Script node does not support all functions when compiled to an executable. Most notably graphing functions. See the help file here to read more on this.
Calling Matlab from ActiveX is going to give you a lot more flexibility in regards to how data is passed and processed.

Image enhancement using LabVIEW

I'm trying to make a program to enhance an image in LabVIEW. I have already program in matlab codes, but its some built-in functions are not working in LabVIEW since it is not present in LabVIEW mathscript module. The algorithm used to enhance the image is written below
input image in RGB
Contrast stretching of the model
RGB to HSI
contrast stretching of S&I
display the RGB image
So please help to implement this algorithm in LabVIEW
MATLAB can make a dll from your m file (including all of your built-in functions) and then you can call that dll from your Labview. To do so, you need to install MATLAB Compiler Runtime (MCR) on your machine (You don't need that, if you have already installed MATLAB).
If you want to have standalone dll file (not using matlab runtime), you need to use MATLAB Coder (which probably you need to buy it).
I recommend to use MCR first because it is easier to start with and more flexible in using MATLAB features.

using autocorr for different matlab versions

I'm trying to compute the autocorrelation of my timeseries. This work on my laptop with matlab R2011a, but not on my desktop with matlab R2013a. I read somewhere that the Signal Processing Toolbox needs to be installed, and that is the case on both of my computers. There seems to be no function at all called autocorr, but I can find it again on the matworks documentation for 2014b. I have the same problem with xcorr, although matlab seems to recognize the function ('help xcorr' works, 'help autocorr' not).
How can I fix this?

Sobol sequence in matlab?

Does anyone know how to code (or have a code) for generating sobol sequences in matlab?
The initial chosen direction numbers is not a concern.
Thanks.
You'll need the stats toolbox function sobolset unless you're planning on programming your own from scratch?
Otherwise it looks like these file exchange entries can do it without the stats toolbox:
Global sensitivity analysis toolbox
Bridge Sampling
And also this one if you are running Linux. I recommend you start with the file exchange options as they are free, don't require the toolbox and don't require you to start from scratch. Unless you have the toolbox, in which case it's quite well documented so use that.

Distribute matlab functions without source

I have written a set of Matlab functions and I want to distribute it to few people for testing. But I do not want to reveal the source to them. All these people have matalb installed on their systems. So I don't want to make standalone executable from my functions. Ideally I want something like complied library files which the users can put in the matlab path & call the functions from their matlab prompt / matlab functions. Is it even possible ?
Edit: I have matlab compiler toolbox. But the users won't be having access to matlab compiler toolbox on their matlab.
The standard way is using pcode. Look in the docs and remember to keep a copy of the source code elsewhere!